diff --git a/.travis.yml b/.travis.yml index 36bb966cc..7c5382d7a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,11 @@ language: ruby rvm: - 2.3.1 bundler_args: "--without development --without production --deployment" -cache: bundler +cache: + bundler: true + directories: + - node_modules + - vendor/assets/bower_components env: - "PATH=$PWD/node_modules/.bin:$PATH" before_install: diff --git a/config/before-travis.sh b/config/before-travis.sh index 29e44e733..74e790350 100755 --- a/config/before-travis.sh +++ b/config/before-travis.sh @@ -1,5 +1,2 @@ bundle exec rake db:create:all -# ensure that migrations can run successfully bundle exec rake db:migrate -# re-load from schema to ensure DB is empty -bundle exec rake db:reset