-
Notifications
You must be signed in to change notification settings - Fork 29
/
.travis.yml
56 lines (56 loc) · 1.43 KB
/
.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
---
arch: amd64
os: linux
dist: bionic
env:
global:
- CC_TEST_REPORTER_ID=73e44c1f430ccd919b2549ec5e318608be412742ba67f260d1f815702a7f89b0
language: ruby
cache: bundler
bundler_args: --with development
gemfile:
- gemfiles/rails_4.2.0.gemfile
- gemfiles/rails_5.0.0.gemfile
- gemfiles/rails_5.1.0.gemfile
- gemfiles/rails_5.2.0.gemfile
- gemfiles/rails_6.0.0.gemfile
- gemfiles/rails_6.1.0.gemfile
rvm:
- 2.2
- 2.3
- 2.4
- 2.5
- 2.6
- 2.7
jobs:
allow_failures:
- gemfile: gemfiles/rails_5.2.0.gemfile
rvm: 2.2
exclude:
- gemfile: gemfiles/rails_6.1.0.gemfile
rvm: 2.4
- gemfile: gemfiles/rails_6.1.0.gemfile
rvm: 2.3
- gemfile: gemfiles/rails_6.1.0.gemfile
rvm: 2.2
- gemfile: gemfiles/rails_6.0.0.gemfile
rvm: 2.2
- gemfile: gemfiles/rails_6.0.0.gemfile
rvm: 2.3
- gemfile: gemfiles/rails_6.0.0.gemfile
rvm: 2.4
- gemfile: gemfiles/rails_4.2.0.gemfile
rvm: 2.6
- gemfile: gemfiles/rails_4.2.0.gemfile
rvm: 2.7
before_install:
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'
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 rspec
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT