-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
50 lines (41 loc) · 1006 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
43
44
45
46
47
48
49
50
language: ruby
rvm:
- 2.2
- 2.3
- 2.4
- 2.5
gemfile:
- gemfiles/rails_4_0.gemfile
- gemfiles/rails_4_1.gemfile
- gemfiles/rails_4_2.gemfile
- gemfiles/rails_5_0.gemfile
- gemfiles/rails_5_1.gemfile
- gemfiles/rails_5_2.gemfile
- gemfiles/rails_master.gemfile
sudo: false
before_install:
- gem install bundler -v 1.17.3
before_script:
- psql -c 'create database cryptocoin_payable_test;' -U postgres
- bundle exec rake -f spec/dummy/Rakefile db:schema:load RAILS_ENV=test
notifications:
email: false
script:
- bundle exec cucumber features
- bundle exec rspec
- bundle exec rubocop
matrix:
exclude:
- rvm: 2.4
gemfile: gemfiles/rails_4_0.gemfile
- rvm: 2.4
gemfile: gemfiles/rails_4_1.gemfile
- rvm: 2.5
gemfile: gemfiles/rails_4_0.gemfile
- rvm: 2.5
gemfile: gemfiles/rails_4_1.gemfile
allow_failures:
- gemfile: gemfiles/rails_4_0.gemfile
- gemfile: gemfiles/rails_master.gemfile
addons:
postgresql: '9.5'