-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
77 lines (67 loc) · 1.53 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
os: linux
dist: bionic
branches:
only:
- master
cache: bundler
services:
- mysql
- postgresql
language: ruby
rvm:
- 2.4
- 2.5
- 2.7
- 3.0
env:
- DB=mysql
- DB=postgres
gemfile:
- gemfiles/spree_3_0.gemfile
- gemfiles/spree_3_1.gemfile
- gemfiles/spree_3_7.gemfile
- gemfiles/spree_4_0.gemfile
- gemfiles/spree_4_1.gemfile
- gemfiles/spree_4_2.gemfile
- gemfiles/spree_master.gemfile
jobs:
fast_finish: true
allow_failures:
- gemfile: gemfiles/spree_master.gemfile
exclude:
- rvm: 2.4
gemfile: gemfiles/spree_3_7.gemfile
- rvm: 2.4
gemfile: gemfiles/spree_master.gemfile
- rvm: 2.4
gemfile: gemfiles/spree_4_0.gemfile
- rvm: 2.4
gemfile: gemfiles/spree_4_1.gemfile
- rvm: 2.4
gemfile: gemfiles/spree_4_2.gemfile
- rvm: 2.5
gemfile: gemfiles/spree_3_0.gemfile
- rvm: 2.5
gemfile: gemfiles/spree_3_1.gemfile
- rvm: 2.5
gemfile: gemfiles/spree_master.gemfile
- rvm: 2.7
gemfile: gemfiles/spree_3_0.gemfile
- rvm: 2.7
gemfile: gemfiles/spree_3_1.gemfile
- rvm: 3.0
gemfile: gemfiles/spree_3_0.gemfile
- rvm: 3.0
gemfile: gemfiles/spree_3_1.gemfile
- rvm: 3.0
gemfile: gemfiles/spree_3_7.gemfile
- rvm: 3.0
gemfile: gemfiles/spree_4_0.gemfile
- rvm: 3.0
gemfile: gemfiles/spree_4_1.gemfile
script:
- bundle exec rake test_app
- bundle exec rake spec
before_install:
- sudo apt-get install libmysqlclient-dev
- mysql -u root -e "GRANT ALL ON *.* TO 'travis'@'%';"