forked from reactjs/react-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
60 lines (55 loc) · 1.69 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
language: ruby
sudo: required
dist: trusty
addons:
chrome: stable
cache:
bundler: true
yarn: true
rvm:
- 2.7.0
- 2.6.5
- 2.5.7
- jruby-9.1.9.0
gemfile:
# These have webpacker:
- gemfiles/rails_5.2_no_sprockets.gemfile
- gemfiles/rails_5.2_no_sprockets_webpacker_3.gemfile
- gemfiles/rails_5.2_no_sprockets_webpacker_4.gemfile
# These don't have webpacker:
- gemfiles/rails_5.2_sprockets_3.gemfile
- gemfiles/rails_5.2_sprockets_4.gemfile
matrix:
fast_finish: true
exclude:
# Oldest rails does not run on ruby 2.6
- rvm: 2.6.5
- rvm: 2.5.7
- rvm: jruby-9.1.9.0
include:
# Newest gemfiles for universal testing
- rvm: 2.6.5
gemfile: gemfiles/rails_5.2_no_sprockets_webpacker_4.gemfile
- rvm: 2.6.5
gemfile: gemfiles/rails_5.2_sprockets_4.gemfile
- rvm: 2.5.7
gemfile: gemfiles/rails_5.2_no_sprockets_webpacker_4.gemfile
- rvm: 2.5.7
gemfile: gemfiles/rails_5.2_sprockets_4.gemfile
- rvm: jruby-9.1.9.0
gemfile: gemfiles/rails_5.2_no_sprockets_webpacker_4.gemfile
- rvm: jruby-9.1.9.0
gemfile: gemfiles/rails_5.2_sprockets_4.gemfile
allow_failures:
- rvm: jruby-9.1.9.0
gemfile: gemfiles/rails_5.2_no_sprockets_webpacker_4.gemfile
- rvm: jruby-9.1.9.0
gemfile: gemfiles/rails_5.2_sprockets_4.gemfile
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
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &