-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
20 lines (20 loc) · 973 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
language: objective-c
matrix:
include:
- osx_image: xcode12.3
install:
- gem install jazzy
- gem install slather -v 2.4.5
before_script:
- rm -rf ~/Library/Developer/Xcode/DerivedData
script:
# Test that the framework can be installed and built, and passes all unit tests
- travis_wait pod update
- pod lib lint --allow-warnings
- xcodebuild -workspace 'IBMCloudAppID.xcworkspace' -scheme 'IBMCloudAppID' clean build CODE_SIGN_IDENTITY= CODE_SIGNING_REQUIRED=NO
- travis_retry xcodebuild -workspace 'IBMCloudAppID.xcworkspace' test -scheme 'IBMCloudAppIDTests' -destination 'platform=iOS Simulator,name=iPhone 6' -enableCodeCoverage YES
- slather coverage --coveralls --binary-basename IBMCloudAppID.framework -v
# When merging or pushing to the master branch, release a new version and publish the API documentation
#- if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ] ; then
# bash scripts/release.sh;
# fi