-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
19 lines (19 loc) · 806 Bytes
/
.travis.yml
File metadata and controls
19 lines (19 loc) · 806 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
language: swift
os: osx
osx_image: xcode10
before_install: rvm use $RVM_RUBY_VERSION
install: bundle install
script:
# - swift package clean
# - swift test
- xcodebuild -project Commander.xcodeproj -scheme Commander-Package -sdk macosx10.14 -destination 'platform=macOS,arch=x86_64' build test
# - xcodebuild -project Commander.xcodeproj -scheme Commander -sdk macosx -configuration Release -enableCodeCoverage YES test
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-darwin-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
after_script:
- ./cc-test-reporter after-build -t cobertura --exit-code $TRAVIS_TEST_RESULT
after_success:
- slather
- bash <(curl -s https://codecov.io/bash) -J 'Commander'