scube-server/.travis.yml
2015-05-01 10:24:24 +00:00

23 lines
541 B
YAML

language: ruby
cache: bundler
rvm:
- 2.2
- ruby-head
- 2.0
- 2.1
- rbx-2
before_script:
- cp config/database.yml.travis config/database.yml
- bundle exec rake db:create db:migrate db:test:prepare
# GNU echo requires non-stardard option `-e' to interpret escapes sequences
- 'echo -e "test:\n secret_key_base: $(bundle exec rake secret)" > config/secrets.yml'
script: bundle exec rspec
matrix:
fast_finish: true
allow_failures:
- rvm: ruby-head
- rvm: rbx-2
notifications:
email:
- tj+scube_server@a13.fr