Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Commit 891f25c

Browse files
authored
Update .travis.yml (#114)
Expanded the Travis CI testing matrix to include older iOS versions.
1 parent 66842d1 commit 891f25c

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

.travis.yml

+22-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,31 @@
11
language: objective-c
2-
osx_image: xcode8.3
2+
osx_image: xcode9.2
33
sudo: false
4+
env:
5+
global:
6+
- LC_CTYPE=en_US.UTF-8
7+
- LANG=en_US.UTF-8
8+
- LANGUAGE=en_US.UTF-8
9+
matrix:
10+
include:
11+
- osx_image: xcode9.2
12+
env: COVERAGE=code_coverage SDK="iphonesimulator11.2" DESTINATION="name=iPhone 6s,OS=11.2"
13+
- osx_image: xcode9.2
14+
env: SDK="iphonesimulator11.2" DESTINATION="name=iPhone 6s,OS=10.3.1"
15+
- osx_image: xcode9.2
16+
env: SDK="iphonesimulator11.2" DESTINATION="name=iPhone 6s,OS=9.3"
17+
- osx_image: xcode9.2
18+
env: SDK="iphonesimulator11.2" DESTINATION="name=iPhone 6,OS=8.4"
19+
- osx_image: xcode8.3
20+
env: SDK="iphonesimulator10.3" DESTINATION="name=iPhone 6,OS=8.1"
421
before_install:
522
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
623
- pod install --repo-update
724
script:
825
- set -o pipefail
9-
- xcodebuild test -workspace MotionAnimator.xcworkspace -scheme MotionAnimatorCatalog -sdk "iphonesimulator10.3" -destination "name=iPhone 6s,OS=10.3.1" -enableCodeCoverage YES ONLY_ACTIVE_ARCH=YES | xcpretty -c;
26+
- xcodebuild test -workspace MotionAnimator.xcworkspace -scheme MotionAnimatorCatalog -sdk "$SDK" -destination "$DESTINATION" -enableCodeCoverage YES ONLY_ACTIVE_ARCH=YES | xcpretty -c;
1027
after_success:
28+
- if [ "$COVERAGE" == "code_coverage" ]; then
29+
bash <(curl -s https://codecov.io/bash);
30+
fi
1131
- bash <(curl -s https://codecov.io/bash)

0 commit comments

Comments
 (0)