forked from activeadmin/activeadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (37 loc) · 933 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
language: ruby
sudo: false
dist: trusty
bundler_args: --without development
branches:
only:
- master
cache: bundler
before_install:
- PATH=$(npm bin):$PATH # needed to install phantomjs via npm
- if [ $(phantomjs --version) != '2.1.1' ]; then npm install [email protected]; fi
- gem update --system # use the very latest Rubygems
- rvm @global do gem uninstall bundler -a -x
- rvm @global do gem install bundler -v 1.14.6 # latest version known to work
script:
- bundle exec rake
rvm:
- jruby-9.1.10.0
- 2.2.7
- 2.3.4
- 2.4.1
gemfile:
- gemfiles/rails_42.gemfile
- gemfiles/rails_50.gemfile
- gemfiles/rails_51.gemfile
env:
global:
- JRUBY_OPTS="-J-Xmx1024m --dev --debug"
- COVERAGE=true
matrix:
fast_finish: true
allow_failures:
- rvm: jruby-9.1.10.0
gemfile: gemfiles/rails_50.gemfile
- rvm: jruby-9.1.10.0
gemfile: gemfiles/rails_51.gemfile