@@ -5,28 +5,25 @@ language: objective-c
5
5
xcode_workspace : Authenticator.xcworkspace
6
6
xcode_scheme : Authenticator
7
7
8
- osx_image : xcode8.3
8
+ osx_image : xcode9
9
9
10
10
env :
11
11
- RUNTIME="iOS 9.0" DEVICE="iPhone 4s"
12
- - RUNTIME="iOS 9.1" DEVICE="iPhone 5"
13
- - RUNTIME="iOS 9.2" DEVICE="iPhone 5s"
14
12
- RUNTIME="iOS 9.3" DEVICE="iPhone 6s"
15
- - RUNTIME="iOS 10.0" DEVICE="iPhone 6s Plus"
16
- - RUNTIME="iOS 10.1" DEVICE="iPhone SE"
17
- - RUNTIME="iOS 10.2" DEVICE="iPhone 7"
13
+ - RUNTIME="iOS 10.0" DEVICE="iPhone SE"
18
14
- RUNTIME="iOS 10.3" DEVICE="iPhone 7 Plus"
15
+ - RUNTIME="iOS 11.0" DEVICE="iPhone X"
19
16
20
17
install :
21
18
- git submodule update --init --recursive
22
19
23
20
before_script :
24
- - DEVICE_ID=com.apple.CoreSimulator.SimDeviceType.$(echo $DEVICE | sed -E -e "s/[ \-]+/ /g" -e "s/[^[:alnum:]]/-/g")
25
- - RUNTIME_ID=com.apple.CoreSimulator.SimRuntime.$(echo $RUNTIME | sed -E -e "s/[ \-]+/ /g" -e "s/[^[:alnum:]]/-/g")
26
- - DESTINATION_ID=$(xcrun simctl create Travis $DEVICE_ID $RUNTIME_ID)
27
- - xcrun simctl boot $DESTINATION_ID
21
+ - DEVICE_ID=com.apple.CoreSimulator.SimDeviceType.$(echo $DEVICE | sed -E -e "s/[ \-]+/ /g" -e "s/[^[:alnum:]]/-/g")
22
+ - RUNTIME_ID=com.apple.CoreSimulator.SimRuntime.$(echo $RUNTIME | sed -E -e "s/[ \-]+/ /g" -e "s/[^[:alnum:]]/-/g")
23
+ - DESTINATION_ID=$(xcrun simctl create Travis $DEVICE_ID $RUNTIME_ID)
24
+ - xcrun simctl boot $DESTINATION_ID
28
25
29
- script : set -o pipefail && xcodebuild -workspace "$TRAVIS_XCODE_WORKSPACE" -scheme "$TRAVIS_XCODE_SCHEME" -destination "id=$DESTINATION_ID" build test | xcpretty -c
26
+ script : set -o pipefail && xcodebuild -workspace "$TRAVIS_XCODE_WORKSPACE" -scheme "$TRAVIS_XCODE_SCHEME" -destination "id=$DESTINATION_ID" build-for-testing test-without-building | xcpretty -c
30
27
31
28
after_success :
32
29
- bash <(curl -s https://codecov.io/bash)
0 commit comments