mirror of
https://github.com/internetee/registry.git
synced 2025-06-30 16:23:38 +02:00
Remove RAILS_ENV from travis.yml
Travis sets it to `test` by default
This commit is contained in:
parent
37458b8e41
commit
25b36d3d30
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue