forked from DiUS/pact-consumer-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (31 loc) · 1.55 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: objective-c
osx_image: xcode9
env:
global:
- IOS_FRAMEWORK_SCHEME="PactConsumerSwift iOS"
- MACOS_FRAMEWORK_SCHEME="PactConsumerSwift macOS"
- TVOS_FRAMEWORK_SCHEME="PactConsumerSwift tvOS"
- PROJECT_NAME="PactConsumerSwift.xcodeproj"
- secure: QmmEqePFeG6D1Qu0KrWI0w6LiwiY3V2qUWAHxQrSYFFPG4wJOZuHpwdk9NO45gOzPYxbkzXT9MynWFMs5pZKrIJCmQRkK5fNcDecwvNunsJEzBmvNYLhd0B4IKy2R1pBmKcDHPIYCzgpanPDAV7LhTXlGoUGk59+QL6qK8+hBQs=
- secure: FpfacekFs93LkX9gerQUxQKIDTjBl2abp7ZQ/8L3DiJo4nMF7xEwUGeSDQMR+2hRqRWr/SdU59Lll5k10JBqWxAaLXDTUq3Lh3aamc4nc2PAN7yp+0aq9RQG5+PaLkfx+SLs5B/CjDiRRotZg/H/uMTRRFbkqydVtxiqGv94JOg=
matrix:
- DESTINATION="OS=11.0,name=iPhone 8" SCHEME="$IOS_FRAMEWORK_SCHEME" CARTHAGE_PLATFORM="iOS"
- DESTINATION="OS=10.3.1,name=iPhone 7 Plus" SCHEME="$IOS_FRAMEWORK_SCHEME" CARTHAGE_PLATFORM="iOS"
- DESTINATION="OS=11.0,name=Apple TV 4K (at 1080p)" SCHEME="$TVOS_FRAMEWORK_SCHEME" CARTHAGE_PLATFORM="tvOS"
- DESTINATION="arch=x86_64" SCHEME="$MACOS_FRAMEWORK_SCHEME" CARTHAGE_PLATFORM="macOS"
before_install:
- scripts/import_keychain.sh
- security find-identity -v -p codesigning
- gem install pact-mock_service -v 2.1.0
- bundle install
- brew update && brew bundle
- carthage checkout
script:
- set -o pipefail
- swiftlint
- carthage build --no-skip-current --platform $CARTHAGE_PLATFORM
- scripts/build.sh
- bash <(curl -s https://codecov.io/bash) -J 'PactConsumerSwift'
after_script: scripts/delete_keychain.sh
after_success:
- scripts/build_children.sh