forked from tzinfo/tzinfo
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
35 lines (35 loc) · 872 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
language: ruby
dist: trusty
before_install:
- if [[ $TRAVIS_RUBY_VERSION =~ ^(1|2\.[012]|jruby-1)\. ]]; then gem install rubygems-update --version '~> 2.7' --no-document && update_rubygems; elif [[ ! $TRAVIS_RUBY_VERSION =~ ^truffleruby- ]]; then gem update --system; fi
- gem --version
- if [[ $TRAVIS_RUBY_VERSION =~ ^(1|2\.[012]|jruby-1)\. ]]; then gem install bundler --version '~> 1.17'; else gem install bundler; fi
- bundle --version
before_script:
- bundle update
cache: bundler
env:
global:
- TESTOPTS=--verbose
rvm:
- 1.9.3-p551
- 2.0.0-p648
- 2.1.10
- 2.2.10
- 2.3.8
- 2.4.9
- 2.5.7
- 2.6.5
- 2.7.0-preview3
- ruby-head
- jruby-1.7.27
- jruby-9.1.17.0
- jruby-9.2.9.0
- jruby-head
- rbx-3.107
- truffleruby-19.3.0
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: truffleruby-19.3.0