forked from rspec/rspec-core
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
45 lines (44 loc) · 1.29 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
# This file was generated on 2015-05-05T17:56:25+10: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
cache:
directories:
- ../bundle
before_install:
- "script/clone_all_rspec_repos"
# Downgrade bundler to work around https://github.com/bundler/bundler/issues/3004
# Note this doesn't work on JRUBY 2.0.0 mode so we don't do it
- if [ -z "$JRUBY_OPTS" ]; then gem install bundler -v=1.5.3 && alias bundle="bundle _1.5.3_"; fi
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
- ruby-head
- ree
- rbx
matrix:
include:
- rvm: jruby
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false -Xcompat.version=2.0'
- rvm: jruby-head
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
- rvm: jruby-18mode
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
- rvm: jruby
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
allow_failures:
- rvm: jruby-head
env: JRUBY_OPTS='--server -Xcompile.invokedynamic=false'
- rvm: ruby-head
- rvm: rbx
fast_finish: true
branches:
only:
- master
- /^\d+-\d+-maintenance$/