-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
67 lines (59 loc) · 1.65 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
language: ruby
cache: bundler
bundler_args: --no-deployment --binstubs=./bin
before_install:
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
- if [[ ! "${RUBY_VERSION}" =~ "jruby" ]]; then travis_wait 30 rvm rubygems current; fi
- if [[ ! "${RUBY_VERSION}" =~ "jruby" ]]; then yes | gem update --system --force || true; fi
- gem --version
- gem install bundler -v 1.17.3
- export MY_BUNDLER_VERSION='_1.17.3_'
- bundle ${MY_BUNDLER_VERSION} --version
install:
- bundle ${MY_BUNDLER_VERSION} config --local path vendor/bundle
- bundle ${MY_BUNDLER_VERSION} config --local jobs 3
- bundle ${MY_BUNDLER_VERSION} config --local retry 3
- bundle ${MY_BUNDLER_VERSION} config --local binstubs ./bin
- bundle ${MY_BUNDLER_VERSION} config --local bin ./bin
- bundle ${MY_BUNDLER_VERSION} install
- gem env
- bundle ${MY_BUNDLER_VERSION} env
script:
- echo $BUNDLE_GEMFILE
- bundle ${MY_BUNDLER_VERSION} exec rake
gemfile:
- gemfiles/cell_0.16.0.gemfile
- gemfiles/cell_0.17.3.gemfile
- gemfiles/cell_0.17.4.gemfile
- gemfiles/cell_0.18.0.gemfile
matrix:
fast_finish: true
allow_failures:
- rvm: 2.2.5
exclude:
- rvm: 2.0.0
gemfile: gemfiles/cell_0.18.0.gemfile
- rvm: 2.1.3
gemfile: gemfiles/cell_0.18.0.gemfile
- rvm: 2.2.0
gemfile: gemfiles/cell_0.18.0.gemfile
- rvm: 2.2.2
gemfile: gemfiles/cell_0.18.0.gemfile
- rvm: 2.2.5
gemfile: gemfiles/cell_0.18.0.gemfile
rvm:
- 2.1.3
- 2.2.2
- 2.2.5
- 2.3.1
- 2.3.2
- 2.3.3
- 2.4.0
- 2.5.3
- 2.6.5
- 2.7.1
# - 3.0.0 - celluloid/io doesn't work
env:
- RAILS_ENV=test RACK_ENV=test APP_ENV=test
notifications:
email: false