forked from renebigot/XlsxReaderWriter
-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
34 lines (29 loc) · 882 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: objective-c
os: osx
osx_image: xcode12
notifications:
email: false
env:
global:
- LC_CTYPE=en_US.UTF-8
- LANG=en_US.UTF-8
- WORKSPACE=XlsxReaderWriter.xcworkspace
- IOS_SCHEME="XlsxReaderWriter"
- IOS_SDK=iphonesimulator14.0
- IOS_DEST="OS=14.0,name=iPhone 11"
matrix:
- DESTINATION="$IOS_DEST" SCHEME="$IOS_SCHEME" SDK="$IOS_SDK" RUN_TESTS="YES"
cache:
directories:
- $HOME/.cocoapods/
before_install:
- gem install cocoapods-acknowledgements
- gem install cocoapods
- pod setup
- pod repo update
script:
- set -o pipefail
- xcodebuild -version
- xcodebuild -showsdks
- pod install
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -configuration Debug ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test -enableCodeCoverage YES | xcpretty -c