Skip to content

Commit

Permalink
Speedup TravisCI build a little with JS deps caching
Browse files Browse the repository at this point in the history
Remove db:reset step from Travis build because I can't quite
remember why I thought it was needed
  • Loading branch information
tjgrathwell committed Dec 28, 2016
1 parent 53835d5 commit 65ec9d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 0 additions & 3 deletions config/before-travis.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 65ec9d4

Please sign in to comment.