forked from rmosolgo/graphql-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
76 lines (70 loc) · 1.8 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
---
language: ruby
sudo: false
cache:
- bundler
- yarn
node_js: "7"
env:
global:
- CODECLIMATE_REPO_TOKEN=f5b27b2e25d3f4e199bb2566fb4fd4507144a004c71d4aa33a32c2df5f940333
rvm:
- 2.3.8
matrix:
include:
- env:
- DISPLAY=':99.0'
- TESTING_INTERPRETER=yes
rvm: 2.4.3
addons:
apt:
sources:
- google-chrome
packages:
- google-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
before_script:
- sh -e /etc/init.d/xvfb start
gemfile: spec/dummy/Gemfile
script:
- cd spec/dummy && bundle exec rails test:system
- env:
- TESTING_INTERPRETER=yes
rvm: 2.4.3
gemfile: gemfiles/rails_5.2.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.4.3
gemfile: gemfiles/rails_5.0.gemfile
- rvm: 2.4.3
gemfile: gemfiles/rails_5.1.gemfile
- rvm: 2.4.3
gemfile: gemfiles/rails_5.2.gemfile
- rvm: 2.4.3
gemfile: gemfiles/mongoid_7.gemfile
services:
- mongodb
- rvm: 2.4.3
gemfile: gemfiles/mongoid_6.gemfile
services:
- mongodb
- rvm: 2.4.3
gemfile: gemfiles/mongoid_5.gemfile
services:
- mongodb
- env: DATABASE=POSTGRESQL
rvm: 2.4.3
gemfile: gemfiles/rails_5.2_postgresql.gemfile
services:
- postgresql
before_script:
- psql -c 'create database graphql_ruby_test;' -U postgres
- rvm: 2.4.3
gemfile: Gemfile