forked from spree-contrib/spree_multi_vendor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (38 loc) · 977 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
sudo: required
dist: trusty
before_script:
- export DISPLAY=:99.0 && sh -e /etc/init.d/xvfb start && sleep 3
addons:
chrome: stable
postgresql: 9.4
language: ruby
env:
- DB=postgres
- DB=mysql
gemfile:
- gemfiles/spree_3_7.gemfile
- gemfiles/spree_4_0.gemfile
- gemfiles/spree_master.gemfile
script:
- bundle exec rake test_app
- bundle exec rake spec
rvm:
- 2.5.1
- 2.4.4
matrix:
allow_failures:
- gemfile: gemfiles/spree_master.gemfile
exclude:
- rvm: 2.4.4
gemfile: gemfiles/spree_4_0.gemfile
- rvm: 2.4.4
gemfile: gemfiles/spree_master.gemfile
- rvm: 2.5.1
gemfile: gemfiles/spree_3_5.gemfile
before_install:
- mysql -u root -e "GRANT ALL ON *.* TO 'travis'@'%';"
- wget http://chromedriver.storage.googleapis.com/2.38/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- sudo apt-get install libnss3
- sudo cp chromedriver /usr/local/bin/
- sudo chmod +x /usr/local/bin/chromedriver