forked from plentz/lol_dba
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (37 loc) · 922 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
28
29
30
31
32
33
34
35
36
37
env:
global:
- CC_TEST_REPORTER_ID=46e5fb2273e7c6fb1beaad7c0f14ad898f0eed65d98a20c80fe8eb4e216a7ff0
sudo: false
language: ruby
cache: bundler
before_install:
- gem update --system
- gem install bundler
rvm:
- 2.2.10
- 2.3.7
- 2.4.4
- 2.5.1
- ruby-head
gemfile:
- gemfiles/rails_3_2.gemfile
- gemfiles/rails_4_0.gemfile
- gemfiles/rails_4_1.gemfile
- gemfiles/rails_4_2.gemfile
- gemfiles/rails_5_0.gemfile
- gemfiles/rails_5_1.gemfile
- gemfiles/rails_5_2.gemfile
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
script: "bundle exec rake"
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
notifications:
recipients:
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head