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

Commit

Permalink
Update .travis.yml (#114)
Browse files Browse the repository at this point in the history
Expanded the Travis CI testing matrix to include older iOS versions.
  • Loading branch information
jverkoey committed Mar 6, 2018
1 parent 66842d1 commit 891f25c
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .travis.yml
@@ -1,11 +1,31 @@
language: objective-c
osx_image: xcode8.3
osx_image: xcode9.2
sudo: false
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- LANGUAGE=en_US.UTF-8
matrix:
include:
- osx_image: xcode9.2
env: COVERAGE=code_coverage SDK="iphonesimulator11.2" DESTINATION="name=iPhone 6s,OS=11.2"
- osx_image: xcode9.2
env: SDK="iphonesimulator11.2" DESTINATION="name=iPhone 6s,OS=10.3.1"
- osx_image: xcode9.2
env: SDK="iphonesimulator11.2" DESTINATION="name=iPhone 6s,OS=9.3"
- osx_image: xcode9.2
env: SDK="iphonesimulator11.2" DESTINATION="name=iPhone 6,OS=8.4"
- osx_image: xcode8.3
env: SDK="iphonesimulator10.3" DESTINATION="name=iPhone 6,OS=8.1"
before_install:
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
- pod install --repo-update
script:
- set -o pipefail
- 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;
- xcodebuild test -workspace MotionAnimator.xcworkspace -scheme MotionAnimatorCatalog -sdk "$SDK" -destination "$DESTINATION" -enableCodeCoverage YES ONLY_ACTIVE_ARCH=YES | xcpretty -c;
after_success:
- if [ "$COVERAGE" == "code_coverage" ]; then
bash <(curl -s https://codecov.io/bash);
fi
- bash <(curl -s https://codecov.io/bash)

0 comments on commit 891f25c

Please sign in to comment.