Update travis config file

A few things in here:
- Test on ruby 2.2
- Allow failures in all variants of RAILS_MASTER test
- Use db:create task
This commit is contained in:
Arthur Neves 2015-04-24 16:28:27 -04:00
parent e17ea2e787
commit 94678f977a
No known key found for this signature in database
GPG key ID: 04A390FB1E433E17

View file

@ -13,16 +13,14 @@ addons:
matrix:
allow_failures:
- rvm: 2.0.0
env: "RAILS_MASTER=1"
- rvm: 2.1
env: "RAILS_MASTER=1"
- env: "RAILS_MASTER=1"
- rvm: rbx-2
fast_finish: true
rvm:
- 2.0.0
- 2.1
- 2.2
- rbx-2
services:
@ -37,8 +35,7 @@ before_install:
- jshint .
before_script:
- psql -c 'create database discourse_test;' -U postgres
- bundle exec rake db:migrate
- bundle exec rake db:create db:migrate
bundler_args: --without development --deployment --retry=3 --jobs=3