osem-fcy/.travis.yml

25 lines
563 B
YAML
Raw Normal View History

sudo: required
dist: trusty
2014-04-09 17:04:03 +02:00
language: ruby
cache: bundler
2014-04-09 17:04:03 +02:00
rvm:
2016-04-05 13:02:53 +02:00
- 2.2.3
2014-07-04 22:49:37 +02:00
before_install:
- "echo 'gem: --no-ri --no-rdoc' > ~/.gemrc"
2014-07-21 16:05:30 +02:00
- "echo `phantomjs -v`"
2014-04-09 17:04:03 +02:00
notifications:
email:
on_success: change
on_failure: change
irc:
channels:
- "chat.freenode.net#osem"
on_success: change
on_failure: change
before_script:
- cp config/database.yml.example config/database.yml
- RAILS_ENV=test bundle exec rake db:migrate --trace
script:
- 'bundle exec rubocop -Dc .rubocop.yml'
- 'bundle exec rspec --color --format documentation'