This repository was archived by the owner on Aug 30, 2023. It is now read-only.
File tree 1 file changed +22
-2
lines changed
1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change 1
1
language : objective-c
2
- osx_image : xcode8.3
2
+ osx_image : xcode9.2
3
3
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"
4
21
before_install :
5
22
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
6
23
- pod install --repo-update
7
24
script :
8
25
- 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;
10
27
after_success :
28
+ - if [ "$COVERAGE" == "code_coverage" ]; then
29
+ bash <(curl -s https://codecov.io/bash);
30
+ fi
11
31
- bash <(curl -s https://codecov.io/bash)
You can’t perform that action at this time.
0 commit comments