update .travis.yml

pull/304/head
quicksilver 2019-11-11 14:12:37 +08:00
parent d94ebbca97
commit b837d13555
2 changed files with 5 additions and 1 deletions

View File

@ -1,8 +1,11 @@
language: cpp
cache: ccache
sudo: required
dist: bionic
cache:
directories:
- $HOME/.ccache
addons:
apt:
update: true

View File

@ -6,6 +6,7 @@ if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
export CCACHE_COMPRESS=1
export CCACHE_COMPRESSLEVEL=5
export CCACHE_COMPILERCHECK=content
export PATH=/usr/lib/ccache/:$PATH
ccache --show-stats
fi