NIT-dgp/cat-forum

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: ruby
cache: bundler
sudo: false
rvm:
  - 2.2.0
addons:
  code_climate:
    repo_token: ac51fc0a1f96a2465e1d6391c22f443fd9965f441793d9facd130e4be870ffe1
before_script:
  - cp config/database.yml.example config/database.yml
  - cp config/secrets.yml.example config/secrets.yml
  - RAILS_ENV=test bundle exec rake --trace db:create
  - RAILS_ENV=test bundle exec rake --trace db:migrate
script:
  - RAILS_ENV=test xvfb-run bundle exec rspec
  - bundle exec rubocop --config .rubocop.yml
after_success:
  - bundle exec codeclimate-test-reporter