This repository has been archived by the owner on Aug 19, 2020. It is now read-only.
forked from kivanio/brcobranca
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
69 lines (63 loc) · 1.75 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
57
58
59
60
61
62
63
64
65
66
67
68
69
language: ruby
cache: bundler
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
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y ghostscript
# Rubygems > 3.0.0 no longer supported rubies < 2.3
- gem install "rubygems-update:<3.0.0" --no-document && update_rubygems
# Bundler 2.0 is not supported by Rails < 5
- rvm implode --force
- \curl -sSL https://get.rvm.io | bash -s 1.27.0
- rvm reload
- rvm install 2.2.3
- gem uninstall -i /home/travis/.rvm/gems/ruby-2.2.3 bundler -x
- gem install bundler -v '~> 1.17'
dist: trusty
before_script:
- unset _JAVA_OPTIONS
rvm:
- '2.6.3'
- '2.5.0'
- '2.4.3'
- '2.3.4'
- '2.2.7'
- '2.1.10'
- jruby-9.1.16.0
gemfile:
- gemfiles/rails_42.gemfile
- gemfiles/rails_50.gemfile
- gemfiles/rails_51.gemfile
- gemfiles/rails_52.gemfile
env:
global:
- JRUBY_OPTS="-J-Xmx1024m --dev --debug"
- COVERAGE=true
- CC_TEST_REPORTER_ID=69a23bee43b8c53271b1a6fbe18b6167de91a06d66ab19908dd52f73158ab71b
matrix:
fast_finish: true
allow_failures:
- rvm: jruby-9.1.16.0
gemfile: gemfiles/rails_42.gemfile
- rvm: jruby-9.1.16.0
gemfile: gemfiles/rails_50.gemfile
- rvm: jruby-9.1.16.0
gemfile: gemfiles/rails_51.gemfile
- rvm: jruby-9.1.16.0
gemfile: gemfiles/rails_52.gemfile
- rvm: 2.1.10
gemfile: gemfiles/rails_50.gemfile
- rvm: 2.1.10
gemfile: gemfiles/rails_51.gemfile
- rvm: 2.1.10
gemfile: gemfiles/rails_52.gemfile
branches:
only:
- master
script:
- bundle exec rspec