tracks/.travis.yml
Matt Rogers 74ecfd11d3 Add Ruby 2.3 and 2.4 as CI build targets
2.3 and 2.4 have been out for some time. We should probably make sure
the project works with them.
2017-05-20 09:47:47 -05:00

26 lines
601 B
YAML

language: ruby
sudo: false
cache: bundler
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2
- 2.3
- 2.4
addons:
firefox: 45.8.0esr
env:
- DATABASE_URL=mysql2://localhost/tracks_test
- DATABASE_URL=sqlite3:db/test.sqlite3
bundler_args: --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