/
.travis.yml
47 lines (46 loc) · 1.13 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
# This file was generated on 2017-11-21T14:21:55+11:00 from the rspec-dev repo.
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
language: ruby
sudo: false
email: false
cache:
directories:
- ../bundle
before_install:
- unset _JAVA_OPTIONS
- "script/clone_all_rspec_repos"
# Note this doesn't work on JRUBY 2.0.0 mode so we don't do it, the excluded versions are broken on Ruby 2.3
- if [ "jruby" != "$TRAVIS_RUBY_VERSION" ]; then gem install bundler --version "1.11.2"; fi
- alias bundle="bundle _1.11.2_"
bundler_args: "--binstubs --standalone --without documentation --path ../bundle"
script: "script/run_build"
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- 2.0.0
- 2.1
- 2.2.7
- 2.3.5
- 2.4.2
- ruby-head
- ree
- rbx-3
- jruby-9.1.7.0 # pin JRuby to this until travis/rvm can install later versions
- jruby-head
- jruby-1.7
env:
- JRUBY_OPTS='--dev'
matrix:
include:
- rvm: jruby-1.7
env: JRUBY_OPTS='--dev --1.8'
allow_failures:
- rvm: jruby-head
- rvm: ruby-head
- rvm: rbx-3
fast_finish: true
branches:
only:
- master
- /^\d+-\d+-maintenance$/