forked from sparklyhiking/BitcoinKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
26 lines (26 loc) · 751 Bytes
/
Copy path.travis.yml
File metadata and controls
26 lines (26 loc) · 751 Bytes
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
language: objective-c
osx_image: xcode9.4
cache:
directories:
- Libraries
script:
- xcodebuild -workspace "$WORKSPACE" -scheme "$SCHEME" -configuration "$CONFIGURATION"
-sdk "$SDK" -destination "$DESTINATION" -derivedDataPath build
-enableCodeCoverage YES ENABLE_TESTABILITY=YES "$ACTION"
- swift test
after_success:
- ruby scripts/coverage.rb "$SCHEME"
- bash <(curl -s https://codecov.io/bash) -f 'coverage.txt' -y '.codecov.yml'
env:
matrix:
- SDK=iphonesimulator CONFIGURATION=Debug ACTION=test
- SDK=iphonesimulator CONFIGURATION=Release ACTION=test
global:
- LANG=en_US.UTF-8
- LC_ALL=en_US.UTF-8
- WORKSPACE=BitcoinKit.xcworkspace
- SCHEME=BitcoinKit
- DESTINATION='name=iPhone 7,OS=11.2'
branches:
only:
- master