2014-03-25 17:48:29 +00:00
|
|
|
language: ruby
|
2014-10-12 10:46:58 +00:00
|
|
|
bundler_args: --jobs=3 --retry=3
|
2014-10-11 07:25:06 +00:00
|
|
|
cache:
|
2014-10-12 10:46:58 +00:00
|
|
|
bundler: true
|
2014-03-25 22:24:56 +00:00
|
|
|
addons:
|
|
|
|
code_climate:
|
|
|
|
repo_token: b3db5b7df9a0a1d0fd3503e72d7431ffbfa172492c2840d590ccb2fafd9172d3
|
2014-03-25 17:48:29 +00:00
|
|
|
rvm:
|
2014-06-16 14:10:41 +00:00
|
|
|
- 2.1.2
|
2014-03-25 17:48:29 +00:00
|
|
|
env:
|
|
|
|
- MYSQL_USERNAME=travis
|
2014-08-10 20:33:22 +00:00
|
|
|
- APP_SECRET=2d3a08dfea079fe45bcb7f830b010eda
|
2014-08-10 20:15:23 +00:00
|
|
|
before_script:
|
|
|
|
- export DISPLAY=:99.0
|
|
|
|
- sh -e /etc/init.d/xvfb start
|
2014-03-25 17:48:29 +00:00
|
|
|
script:
|
2014-03-25 21:58:51 +00:00
|
|
|
- RAILS_ENV=test bundle exec rake db:create db:migrate db:test:prepare
|
2014-10-12 10:55:33 +00:00
|
|
|
- RAILS_ENV=test bundle exec rspec spec
|