diff --git a/.travis.yml b/.travis.yml index dd3a3965..d05efb52 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,10 +29,10 @@ before_install: - psql -c 'create database phishin_test;' -U postgres - gem update --system --no-document - gem install bundler --no-document - - RAILS_ENV=test bundle exec bin/rails assets:precompile install: bundle install script: - bundle exec rubocop + - bundle exec rails assets:precompile - bundle exec rspec after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT diff --git a/app.json b/app.json index 57db98e8..39a2a3c0 100644 --- a/app.json +++ b/app.json @@ -1,7 +1,7 @@ { "scripts": { "dokku": { - "predeploy": "bundle exec rails db:migrate && bundle exec rake assets:precompile", + "predeploy": "bundle exec rails db:migrate && bundle exec rails assets:precompile", "postdeploy": "if [ -n \"$DISCORD_WEBHOOK_URL\" ]; then JSON_STRING=\"{\\\"content\\\":\\\"[$GIT_REV](https://github.com/jcraigk/phishin/commit/$GIT_REV) successfully deployed\\\"}\"; curl -X POST -H 'Content-Type: application/json' --data \"$JSON_STRING\" $DISCORD_WEBHOOK_URL; fi" } }