Update travis settings for release-branches
- drop the deprecated flag `--deployment` of bundle (so we have to specify the bundler caching path)
This commit is contained in:
parent
83a7878043
commit
b2beaa0f4c
1 changed files with 13 additions and 3 deletions
14
.travis.yml
14
.travis.yml
|
@ -4,7 +4,17 @@ dist: bionic
|
||||||
language: ruby
|
language: ruby
|
||||||
rvm: 2.7.0
|
rvm: 2.7.0
|
||||||
|
|
||||||
cache: bundler
|
cache:
|
||||||
|
directories:
|
||||||
|
- $TRAVIS_BUILD_DIR/vendor/bundle
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- gem install bundler:2.2.4 # match the Gemfile.lock, travis' bundle is 2.1.2
|
||||||
|
- bundle config path 'vendor/bundle'
|
||||||
|
|
||||||
|
install:
|
||||||
|
# overriding to drop the travis `--development` flag
|
||||||
|
- bundle install --jobs=3 --retry=3
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -16,7 +26,7 @@ script:
|
||||||
- eval "$BUILD_CMD"
|
- eval "$BUILD_CMD"
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
only: production
|
only: /.*-stable$/
|
||||||
|
|
||||||
git:
|
git:
|
||||||
depth: false # for posts lastmod
|
depth: false # for posts lastmod
|
||||||
|
|
Loading…
Reference in a new issue