Improve travis config.

This commit is contained in:
Cotes Chung 2020-12-07 01:58:30 +08:00
parent bb13b52d44
commit 59deef469d

View file

@ -2,13 +2,9 @@ os: linux
dist: bionic dist: bionic
language: ruby language: ruby
rvm: 2.6.5 rvm: 2.7.0
before_install: cache: bundler
- bundle config path 'vendor/bundle'
install:
- bundle install --quiet
addons: addons:
apt: apt:
@ -25,10 +21,6 @@ branches:
git: git:
depth: false # for posts lastmod depth: false # for posts lastmod
cache:
directories:
- $TRAVIS_BUILD_DIR/vendor/bundle
notifications: notifications:
email: email:
recipients: recipients: