From 25b36d3d3087a27bc23ee6dfcdaefb2dc50bf5fb Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Sun, 28 Jan 2018 18:33:46 +0200 Subject: [PATCH] Remove RAILS_ENV from travis.yml Travis sets it to `test` by default --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5801ca1ba..795074687 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,12 +9,12 @@ before_script: - "psql -c 'create database registry_api_log_test;' -U postgres" - "cp config/application-example.yml config/application.yml" - "cp config/database-travis.yml config/database.yml" - - "RAILS_ENV=test bundle exec rake db:setup:all" + - "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: - - "RAILS_ENV=test bundle exec rspec" + - "bundle exec rspec" - "bundle exec rake test" after_script: - "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"