travis: ccache (#215)

This commit is contained in:
Jacek Sieka 2020-04-18 09:52:32 +02:00 committed by GitHub
parent e9b25b5309
commit e50b5e34cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,7 @@ language: c
# https://docs.travis-ci.com/user/caching/
cache:
ccache: true
directories:
- NimBinaries
- rocksdbCache
@ -19,6 +20,8 @@ matrix:
- os: osx
before_install:
- launchctl setenv LIBRARY_PATH /usr/local/lib # for RocksDB
- HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 brew install ccache
- export PATH="/usr/local/opt/ccache/libexec:$PATH"
install:
# build nim from our own branch - this to avoid the day-to-day churn and
@ -43,4 +46,3 @@ install:
script:
- nimble install -y
- nimble test