use xcode8.3 on travis
This commit is contained in:
parent
586ae34b2d
commit
67cc96d141
|
@ -1,5 +1,5 @@
|
|||
language: objective-c
|
||||
osx_image: xcode8.2
|
||||
osx_image: xcode8.3
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
@ -17,7 +17,7 @@ env:
|
|||
secure: gZMOaHQIeG7nplBCuH7EKf9o6Ez2rtoSskrv3nOTziSxFfZq322MrxvkidDpEN7AKWYQm27FO+tCzgq0slXb578lQ9P5ySDwEdExKtk/jMtKsBsf3cr4dzSMiqV5D5TbsH2jE9HQlpYUoJeoMBicR2XsTmd7wiu2jAzNBFqGfiY=
|
||||
|
||||
before_install:
|
||||
- SIMULATOR_ID=$(xcrun instruments -s | grep -o "iPhone 6 (10.1) \[.*\]" | grep -o
|
||||
- SIMULATOR_ID=$(xcrun instruments -s | grep -o "iPhone 6 (10.3) \[.*\]" | grep -o
|
||||
"\[.*\]" | sed "s/^\[\(.*\)\]$/\1/")
|
||||
script:
|
||||
- open -a "simulator" --args -CurrentDeviceUDID $SIMULATOR_ID
|
||||
|
|
|
@ -21,4 +21,4 @@ echo "git \"$GIT_REPO\" \"$GIT_BRANCH\"" > "$TESTDIR/Cartfile"
|
|||
|
||||
carthage bootstrap --platform ios --configuration Debug --no-use-binaries
|
||||
|
||||
xcodebuild build -project "${TESTDIR}/CarthageTest.xcodeproj" -scheme CarthageTest -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.1' | xcpretty -c
|
||||
xcodebuild build -project "${TESTDIR}/CarthageTest.xcodeproj" -scheme CarthageTest -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.3' | xcpretty -c
|
||||
|
|
|
@ -12,4 +12,4 @@ gem update cocoapods --no-ri --no-rdoc
|
|||
|
||||
rm -rf Pods
|
||||
rm -f Podfile.lock
|
||||
pod install --no-repo-update && xcodebuild build -workspace CocoapodsTest.xcworkspace -scheme CocoapodsTest -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.1' | xcpretty -c
|
||||
pod install --no-repo-update && xcodebuild build -workspace CocoapodsTest.xcworkspace -scheme CocoapodsTest -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.3' | xcpretty -c
|
||||
|
|
|
@ -12,4 +12,4 @@ gem update cocoapods --no-ri --no-rdoc
|
|||
|
||||
rm -rf Pods
|
||||
rm -f Podfile.lock
|
||||
pod install --no-repo-update && xcodebuild build -workspace CocoapodsTest.xcworkspace -scheme CocoapodsTest -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.1' | xcpretty -c
|
||||
pod install --no-repo-update && xcodebuild build -workspace CocoapodsTest.xcworkspace -scheme CocoapodsTest -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.3' | xcpretty -c
|
||||
|
|
|
@ -22,5 +22,5 @@ mkdir $FRAMEWORKDIR
|
|||
cp $BUILDDIR/StripeiOS-Static.zip $FRAMEWORKDIR
|
||||
ditto -xk $FRAMEWORKDIR/StripeiOS-Static.zip $FRAMEWORKDIR
|
||||
|
||||
xcodebuild clean build-for-testing -project "${TESTDIR}/ManualInstallationTest.xcodeproj" -scheme ManualInstallationTest -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.1' | xcpretty -c
|
||||
xcodebuild test-without-building -project "${TESTDIR}/ManualInstallationTest.xcodeproj" -scheme ManualInstallationTest -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.1' | xcpretty -c
|
||||
xcodebuild clean build-for-testing -project "${TESTDIR}/ManualInstallationTest.xcodeproj" -scheme ManualInstallationTest -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.3' | xcpretty -c
|
||||
xcodebuild test-without-building -project "${TESTDIR}/ManualInstallationTest.xcodeproj" -scheme ManualInstallationTest -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.3' | xcpretty -c
|
||||
|
|
|
@ -4,7 +4,7 @@ carthage bootstrap --platform ios --configuration Release --no-use-binaries
|
|||
cd Example; carthage bootstrap --platform ios; cd ..
|
||||
|
||||
gem install xcpretty --no-ri --no-rdoc
|
||||
xcodebuild clean build build-for-testing -workspace Stripe.xcworkspace -scheme "StripeiOS" -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.1' | xcpretty -c
|
||||
xcodebuild test-without-building -workspace Stripe.xcworkspace -scheme "StripeiOS" -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.1' | xcpretty -c
|
||||
xcodebuild build -workspace Stripe.xcworkspace -scheme "Stripe iOS Example (Simple)" -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.1' | xcpretty -c
|
||||
xcodebuild build -workspace Stripe.xcworkspace -scheme "Stripe iOS Example (Custom)" -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.1' | xcpretty -c
|
||||
xcodebuild clean build build-for-testing -workspace Stripe.xcworkspace -scheme "StripeiOS" -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.3' | xcpretty -c
|
||||
xcodebuild test-without-building -workspace Stripe.xcworkspace -scheme "StripeiOS" -configuration Debug -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.3' | xcpretty -c
|
||||
xcodebuild build -workspace Stripe.xcworkspace -scheme "Stripe iOS Example (Simple)" -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.3' | xcpretty -c
|
||||
xcodebuild build -workspace Stripe.xcworkspace -scheme "Stripe iOS Example (Custom)" -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=10.3' | xcpretty -c
|
||||
|
|
Loading…
Reference in New Issue