internetee-registry/.travis.yml
Artur Beljajev 0db3dcf4c3 Revert "Change test order in .travis.yml"
This reverts commit a7e8527395.
2018-01-30 13:55:15 +02:00

21 lines
662 B
YAML

language: ruby
cache: bundler
env:
- DB=postgresql
bundler_args: --without development staging production
before_script:
- "cp config/application-example.yml config/application.yml"
- "cp config/database-travis.yml config/database.yml"
- "bundle exec rake db:setup:all"
- "curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter"
- "chmod +x ./cc-test-reporter"
- "./cc-test-reporter before-build"
script:
- "bundle exec rspec"
- "bundle exec rake test"
after_script:
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
services:
- postgresql
addons:
postgresql: "9.4"