upgrade(rails_5): travis should also migrate

This commit is contained in:
Joseph Mastey
2017-01-20 14:27:59 -06:00
parent ba684f95ec
commit dee4a46d3d
+1 -2
View File
@@ -11,8 +11,7 @@ before_install:
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf ${PWD}/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C ${PWD}/travis_phantomjs; fi" - "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf ${PWD}/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C ${PWD}/travis_phantomjs; fi"
- "phantomjs --version" - "phantomjs --version"
before_script: rails db:setup before_script: bundle exec rails db:{setup,migrate}
before_script: bundle exec rails db:setup
cache: bundler cache: bundler
sudo: false sudo: false
env: RAILSGOAT_MAINTAINER=true env: RAILSGOAT_MAINTAINER=true