nyjt/activeportal

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: ruby
rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.1
  - 2.1.2
env:
  - DB=sqlite
  - DB=mysql
  - DB=postgresql
script:
  - RAILS_ENV=test bundle exec rake db:drop
  - RAILS_ENV=test bundle exec rake db:create
  - RAILS_ENV=test bundle exec rake db:migrate --trace
  - RAILS_ENV=test bundle exec rspec
before_script:
  - cp config/database.travis.yml config/database.yml
  - mysql -e 'create database activeportal_test'
  - psql -c 'create database activeportal_test' -U postgres