forked from calagator/calagator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (33 loc) · 832 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
add_ons:
chrome: stable
language: ruby
rvm:
- 2.3.7
- 2.4.6
- 2.5.5
- rbx-2
gemfile:
- gemfiles/rails_4_2.gemfile
env:
matrix:
- DB=mysql
- DB=postgresql
- DB=sqlite3
matrix:
fast_finish: true
allow_failures:
- rvm: 2.5.5
- rvm: rbx-2
before_install:
- sudo apt-get install chromium-chromedriver
- google-chrome-stable --headless --disable-gpu
- gem uninstall -i $(rvm gemdir)@global -ax bundler
- gem install bundler -v 1.17.3
before_script:
- "export PATH=$PATH:/usr/lib/chromium-browser/"
- bundle exec bin/calagator new spec/dummy --dummy --database=$DB --postgres-username=postgres
- travis_retry bundle exec rake app:db:migrate app:db:seed
- travis_retry bundle exec rake app:sunspot:solr:start_with_waiting
script:
- bundle exec rake spec --trace
cache: bundler