forked from owen2345/camaleon-cms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (37 loc) · 955 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
language: ruby
bundler_args: '-j4'
addons:
chrome: stable
services:
- xvfb
matrix:
allow_failures:
- gemfile: gemfiles/rails_edge.gemfile
- rvm: ruby-head
include:
- rvm: 2.3
gemfile: gemfiles/rails_4_2.gemfile
- rvm: 2.4
gemfile: gemfiles/rails_5_0.gemfile
- rvm: 2.5
gemfile: gemfiles/rails_5_1.gemfile
- rvm: 2.6
gemfile: gemfiles/rails_5_2.gemfile
- rvm: 2.7
gemfile: gemfiles/rails_6_0.gemfile
env: DISABLE_DATABASE_ENVIRONMENT_CHECK=TRUE
- rvm: 2.7
gemfile: gemfiles/rails_6_1.gemfile
env: DISABLE_DATABASE_ENVIRONMENT_CHECK=TRUE
- rvm: ruby-head
gemfile: gemfiles/rails_edge.gemfile
fast_finish: true
script:
- bundle update rails
- bundle exec rubocop
- bundle exec rake db:migrate RAILS_ENV=test
- bundle exec rspec
before_install:
- "echo 'gem: --no-document' > ~/.gemrc"
- "echo '--colour' > ~/.rspec"
- export DISPLAY=:99.0