forked from reactjs/react-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
57 lines (52 loc) · 1.67 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
sudo: required
dist: trusty
addons:
chrome: stable
cache:
bundler: true
yarn: true
rvm:
- 2.5.0
- 2.3.0
- jruby-9.1.9.0
gemfile:
# These have webpacker:
- gemfiles/rails_4.2_sprockets_4.gemfile
- gemfiles/rails_5_no_sprockets_webpacker_1_1.gemfile
- gemfiles/rails_5_no_sprockets_webpacker_1_x.gemfile
- gemfiles/rails_5_no_sprockets_webpacker_2.gemfile
- gemfiles/rails_5_no_sprockets_webpacker_3.gemfile
# These don't have webpacker:
- gemfiles/rails_4.2_sprockets_2.gemfile
- gemfiles/rails_4.2_sprockets_3.gemfile
- gemfiles/rails_5_no_sprockets.gemfile
- gemfiles/rails_5.1_sprockets_4.gemfile
- gemfiles/rails_5.2_sprockets_4.gemfile
matrix:
fast_finish: true
exclude:
# all except 5.1_sprockets_4, 5.1_webpacker_3, 4.2_sprockets_3
- rvm: jruby-9.1.9.0
gemfile: gemfiles/rails_4.2_sprockets_4.gemfile
- rvm: jruby-9.1.9.0
gemfile: gemfiles/rails_5_no_sprockets_webpacker_1_1.gemfile
- rvm: jruby-9.1.9.0
gemfile: gemfiles/rails_5_no_sprockets_webpacker_1_x.gemfile
- rvm: jruby-9.1.9.0
gemfile: gemfiles/rails_5_no_sprockets_webpacker_2.gemfile
- rvm: jruby-9.1.9.0
gemfile: gemfiles/rails_4.2_sprockets_2.gemfile
- rvm: jruby-9.1.9.0
gemfile: gemfiles/rails_5_no_sprockets.gemfile
allow_failures:
- rvm: jruby-9.1.9.0
before_install:
# Repo for Yarn
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
- gem update --system
- gem install chromedriver-helper
- chromedriver-update