forked from eventmachine/eventmachine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
65 lines (59 loc) · 1.32 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
dist: xenial
language: ruby
cache: bundler
bundler_args: --without documentation
before_install:
# rubygems 2.7.8 and greater include bundler
# remove 2.7.0 code when Travis removes rubygems 2.7.8 from ruby-head build
- |
rv="$(ruby -e 'STDOUT.write RUBY_VERSION')";
if [ "$rv" \< "2.3" ]; then gem update --system 2.7.9 --no-document
elif [ "$rv" \< "2.6" ]; then gem update --system --no-document --conservative
fi
before_script:
- if [ "$jit" == "yes" ]; then export RUBYOPT=--jit ; fi ; echo RUBYOPT is $RUBYOPT
- bundle exec rake compile
script:
- bundle exec rake test
env:
global:
- TESTOPTS="-v --no-show-detail-immediately"
rvm:
- 2.7
- 2.6
- 2.5
- 2.4
- 2.3
- 2.2
- 2.1
- 2.0.0
- ruby-head
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: ruby-head
env: jit=yes
# - rvm: jruby-9.2.7.0
# - rvm: jruby-head
include:
- rvm: 2.3
dist: trusty
env: OS="trusty 14.04"
- rvm: 2.6
dist: bionic
env: OS="bionic 18.04"
- rvm: 2.6
os: osx
osx_image: xcode10.3
env: OS="osx xcode 10.3"
- rvm: 2.6
os: osx
osx_image: xcode11.3
env: OS="osx xcode 11.3"
- rvm: 2.6
env: jit=yes
- rvm: ruby-head
env: jit=yes
# - rvm: jruby-9.2.7.0
# - rvm: jruby-head