Permalink
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (22 sloc) 726 Bytes
language: ruby
rvm:
- "1.9.3"
- "2.0.0"
- "2.1.2"
- "2.2.2"
env:
- "RAILS_VERSION=3.2.22"
- "RAILS_VERSION=4.0.13"
- "RAILS_VERSION=4.1.12"
- "RAILS_VERSION=4.2.3"
script:
- DOSSIER_DB=sqlite3 bundle exec rspec
- DOSSIER_DB=mysql2 bundle exec rspec
- DOSSIER_DB=postgresql bundle exec rspec
before_script:
- mysql -e 'create database dossier_test;'
- psql -c 'create database dossier_test;' -U postgres
- cp spec/fixtures/db/mysql2.yml.travis spec/fixtures/db/mysql2.yml
- cp spec/fixtures/db/sqlite3.yml.travis spec/fixtures/db/sqlite3.yml
- cp spec/fixtures/db/postgresql.yml.travis spec/fixtures/db/postgresql.yml
sudo: false # upgrade travis ci infrastructure http://bit.ly/1J6D4W9