diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-04-17 15:26:15 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2019-04-17 15:32:52 +0300 |
commit | dbe33d7ef2401ff6d65b47af3d62ef90bcdc1e7b (patch) | |
tree | c99cf718f7498e9f64131eb51c2fb3557ec90209 | |
parent | 1495c1c513e74aeda6b3838db96ed0ece5d697bc (diff) |
Travis: fix bundle install path.
Now caching works again for bundle.
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index ed651f4..7645511 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ install: - npm install before_script: - git clone --depth 1 https://github.com/twbs/bootstrap.git --branch v3-dev || travis_terminate 1 - - bundle install --deployment --gemfile bootstrap/Gemfile --jobs=3 --retry=3 || travis_terminate 1 + - bundle install --deployment --path "$(pwd)/vendor/bundle" --gemfile bootstrap/Gemfile --jobs=3 --retry=3 || travis_terminate 1 - pushd bootstrap && bundle exec jekyll build && popd script: - if [ "$TRAVIS_NODE_VERSION" = "10" ]; then npm run nyc -- npm run test && npm run qunit; else npm run test; fi || travis_terminate 1 @@ -22,6 +22,7 @@ matrix: fast_finish: true cache: directories: - - node_modules + - node_modules/ + - vendor/bundle/ notifications: email: false |