-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
27 lines (26 loc) · 984 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
# This is a configuration file for using the travis-ci.org continuos integration
# and codeclimate.com systems.
language: ruby
rvm:
- 3.3.1
gemfile:
- Gemfile
env:
global:
- CC_TEST_REPORTER_ID=43ff03d046139c598b997c1208ff15d5df2eb62354e66fe25656936c3a3f1ecc
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
before_install:
- gem update --system # Fixing "bundler: failed to load command: rake" error
script: bundle exec rake test
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/c08e777889b5e121f914
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always