tracks/.travis.yml
Matt Rogers e75cfd6ee8 Explicitly install the database groups for Travis
This would explain the test failures with MySQL
2018-01-03 11:38:19 -06:00

23 lines
605 B
YAML

language: ruby
sudo: false
cache: bundler
rvm:
- 2.0.0
- 2.1
- 2.2
addons:
firefox: 45.8.0esr
env:
- DATABASE_URL=mysql2://localhost/tracks_test
- DATABASE_URL=sqlite3:db/test.sqlite3
bundler_args: --with sqlite --with mysql --without development --jobs=3 --retry=3
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "cp config/site.yml.tmpl config/site.yml"
script: "if [[ $DATABASE_URL == mysql* ]]; then bundle exec rake ci:full; else bundle exec rake ci:lite; fi"
notifications:
email: false
irc:
channels: "chat.freenode.net#tracks"
skip_join: true