-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.travis.yml
More file actions
19 lines (16 loc) · 759 Bytes
/
.travis.yml
File metadata and controls
19 lines (16 loc) · 759 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
osx_image: xcode10.2
language: objective-c
xcode_project: RandomUserSwift.xcodeproj
branches:
only:
master
before_install:
- gem install xcpretty
- gem install xcpretty-json-formatter
- git clone https://github.com/dingwilson/devops-ci.git
script:
- set -o pipefail
- xcodebuild clean test -project RandomUserSwift.xcodeproj -scheme RandomUserSwift -configuration Debug -destination 'platform=iOS Simulator,name=iPhone XS,OS=latest' CODE_SIGN_IDENTITY=\"\" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO -enableCodeCoverage yes | XCPRETTY_JSON_FILE_OUTPUT="xcodebuild.json" xcpretty -f `xcpretty-json-formatter`
- bash <(curl -s https://codecov.io/bash)
- bundle exec danger --fail-on-errors=true
- source ./devops-ci/gen_jazzy_docs.sh