Skip to content

Commit

Permalink
Fixing caching in between builds (#794)
Browse files Browse the repository at this point in the history
  • Loading branch information
alaxalves authored and jywarren committed Jul 9, 2019
1 parent 778277a commit 7654b49
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,17 @@ services:
- docker

cache:
bundler: true
directories:
- public/lib/
- $PWD/public/lib/
- $PWD/vendor/.bundle/

install:
- cp config/database.yml.example config/database.yml
- cp config/config.yml.example config/config.yml
- cp db/schema.rb.example db/schema.rb
- ./lib/exporter-deps.sh > /dev/null 2>&1
- bundle install && yarn install
- bundle check --path vendor/.bundle/ || bundle install --path vendor/.bundle/
- yarn check || yarn install
- bundle exec rake db:setup || bundle exec rake db:migrate

env:
Expand Down

0 comments on commit 7654b49

Please sign in to comment.