-
Notifications
You must be signed in to change notification settings - Fork 101
/
.travis.yml
57 lines (57 loc) · 1.6 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
language: ruby
before_install:
- if [[ $TRAVIS_RUBY_VERSION =~ ^jruby- && ! $TRAVIS_RUBY_VERSION =~ ^jruby-(1|9\.[01]\.) ]]; then export JRUBY_OPTS=`echo "$JRUBY_OPTS" | sed -E -e 's/--((no)?client|server)//g'`; fi
- if [[ $TRAVIS_RUBY_VERSION =~ ^jruby- ]]; then echo "JRUBY_OPTS=$JRUBY_OPTS"; fi
- if [[ $TRAVIS_RUBY_VERSION =~ ^((1|2\.[012]|jruby-(1|9\.0))\.|ree$) ]]; then gem install rubygems-update --version '~> 2.7' --no-document && update_rubygems; else gem update --system --no-document; fi
- gem --version
- if [[ $TRAVIS_RUBY_VERSION =~ ^((1|2\.[012]|jruby-(1|9\.0))\.|ree$) ]]; then gem install bundler --version '~> 1.17' --no-document; else gem install bundler --no-document; fi
- bundle --version
before_script:
- bundle update
cache: bundler
env:
global:
- TESTOPTS=--verbose
jobs:
include:
- rvm: 1.8.7-head
dist: trusty
- rvm: 1.9.2-p330
dist: trusty
- rvm: 1.9.3-p551
dist: trusty
- rvm: 2.0.0-p648
dist: trusty
- rvm: 2.1.10
dist: trusty
- rvm: 2.2.10
dist: trusty
- rvm: 2.3.8
dist: bionic
- rvm: 2.4.10
dist: focal
- rvm: 2.5.8
dist: focal
- rvm: 2.6.6
dist: focal
- rvm: 2.7.2
dist: focal
- rvm: ruby-head
dist: focal
- rvm: jruby-18mode
dist: trusty
- rvm: jruby-1.7.27
dist: trusty
- rvm: jruby-9.0.5.0
dist: trusty
- rvm: jruby-9.1.17.0
dist: focal
- rvm: jruby-9.2.13.0
dist: focal
- rvm: jruby-head
dist: focal
- rvm: ree
dist: trusty
allow_failures:
- rvm: ruby-head
- rvm: jruby-head