Skip to content

Commit 5271ddc

Browse files
update to 10.2 (#222)
* update to 10.2 * update to use 10.2 * attempt to upgrade to 10.2 and use 10.1 and earlier for compilation and test * test 9 * patch 9.3 to work with travis xcode 10.2
1 parent bf7606f commit 5271ddc

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.travis.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- stage: 'SourceClear and Lint'
3131
language: swift
3232
os: osx
33-
osx_image: xcode10.1
33+
osx_image: xcode10.2
3434
install:
3535
- gem install cocoapods -v '1.6.1'
3636
script:
@@ -42,16 +42,17 @@ jobs:
4242
stage: 'Unit Tests'
4343
language: swift
4444
os: osx
45-
osx_image: xcode10.1
45+
osx_image: xcode10.2
4646
branches:
4747
only:
4848
- master
49-
env: SCHEME=OptimizelySwiftSDK-iOS TEST_SDK=iphonesimulator PLATFORM='iOS Simulator' OS=9.1 NAME='iPad Air'
50-
name: PLATFORM='iOS Simulator' OS=9.1 NAME='iPad Air'
49+
env: SCHEME=OptimizelySwiftSDK-iOS TEST_SDK=iphonesimulator PLATFORM='iOS Simulator' OS=9.3 NAME='iPad Air'
50+
name: PLATFORM='iOS Simulator' OS=9.3 NAME='iPad Air'
5151
install:
5252
- gem install slather --no-document --quiet
5353
- gem install cocoapods -v '1.6.1'
5454
- pod install --repo-update
55+
- sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
5556
script:
5657
- if [[ "$TRAVIS_BRANCH" == "master" ]]; then xcodebuild test -workspace OptimizelySDK.xcworkspace -scheme $SCHEME -configuration Release CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO -sdk $TEST_SDK -destination "platform=$PLATFORM,OS=$OS,name=$NAME" ONLY_ACTIVE_ARCH=YES > buildoutput; fi
5758
- cat buildoutput | xcpretty
@@ -72,7 +73,7 @@ jobs:
7273
name: Prepare for release
7374
language: swift
7475
os: osx
75-
osx_image: xcode10.1
76+
osx_image: xcode10.2
7677
env:
7778
- VERSION=3.1.0-beta
7879
install:
@@ -87,7 +88,7 @@ jobs:
8788
name: Push to cocoapods.org
8889
language: minimal
8990
os: osx
90-
osx_image: xcode10.1
91+
osx_image: xcode10.2
9192
env:
9293
- VERSION=3.1.0-beta
9394
install:

0 commit comments

Comments
 (0)