forked from rmosolgo/graphql-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
92 lines (88 loc) · 2.33 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
---
language: ruby
cache:
- bundler
- yarn
env:
global:
- CODECLIMATE_REPO_TOKEN=f5b27b2e25d3f4e199bb2566fb4fd4507144a004c71d4aa33a32c2df5f940333
rvm:
- 2.3.8
matrix:
allow_failures:
- rvm: ruby-head
gemfile: gemfiles/rails_master.gemfile
include:
- before_install:
- nvm install node
script:
- bundle exec rake js:all
- env:
- DISPLAY=':99.0'
rvm: 2.6.2
services:
- xvfb
addons:
chrome: stable
before_install:
- export CHROMEDRIVER_VERSION=`curl -s http://chromedriver.storage.googleapis.com/LATEST_RELEASE`
- curl -L -O "http://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
- unzip chromedriver_linux64.zip && chmod +x chromedriver && sudo mv chromedriver /usr/local/bin
gemfile: spec/dummy/Gemfile
script:
- cd spec/dummy && bundle exec rails test:system
- rvm: 2.2.10
before_install:
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'
- env:
- TESTING_LEGACY=yes
rvm: 2.4.3
gemfile: gemfiles/rails_5.2.gemfile
- rvm: ruby-head
gemfile: gemfiles/rails_master.gemfile
- rvm: 2.3.8
gemfile: gemfiles/rails_3.2.gemfile
- rvm: 2.3.8
gemfile: gemfiles/rails_4.1.gemfile
- rvm: 2.3.8
gemfile: gemfiles/rails_4.2.gemfile
- rvm: 2.6.2
gemfile: gemfiles/rails_5.0.gemfile
- rvm: 2.6.2
gemfile: gemfiles/rails_5.1.gemfile
- rvm: 2.6.2
gemfile: gemfiles/rails_5.2.gemfile
- rvm: 2.6.2
gemfile: gemfiles/rails_6.0.gemfile
- rvm: 2.7.0
gemfile: gemfiles/rails_5.0.gemfile
- rvm: 2.7.0
gemfile: gemfiles/rails_5.1.gemfile
- rvm: 2.7.0
gemfile: gemfiles/rails_5.2.gemfile
- rvm: 2.7.0
gemfile: gemfiles/rails_6.0.gemfile
- rvm: ruby-head
gemfile: gemfiles/rails_master.gemfile
- rvm: 2.6.2
gemfile: gemfiles/mongoid_7.gemfile
services:
- mongodb
- rvm: 2.6.2
gemfile: gemfiles/mongoid_6.gemfile
services:
- mongodb
- rvm: 2.6.2
gemfile: gemfiles/mongoid_5.gemfile
services:
- mongodb
- env: DATABASE=POSTGRESQL
rvm: 2.6.2
gemfile: gemfiles/rails_5.2_postgresql.gemfile
services:
- postgresql
before_script:
- psql -c 'create database graphql_ruby_test;' -U postgres
- rvm: 2.6.2
gemfile: Gemfile