tracks/.travis.yml
Matt Rogers c53a5ad1f2 Add a script/cibuild script to control the build
I don't really enjoy doing inline shell scripting in .travis.yml
2018-01-03 11:46:07 -06:00

23 lines
519 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: script/cibuild
notifications:
email: false
irc:
channels: "chat.freenode.net#tracks"
skip_join: true