Start using Travis-CI cache (#6003)

This commit is contained in:
Travis Plunk
2018-01-24 13:56:42 -08:00
committed by Dongbo Wang
parent 44793e306a
commit 488e395f34
+12
View File
@@ -53,3 +53,15 @@ after_failure:
after_success:
- pwsh -File tools/travis.ps1 -Stage Success
# travis-ci will quit using the cache if an enviroment variable changes
env:
- CACHE_VERSION=netcoreapp.2.0.5
# timeout uploading cache after 6 minutes (360 seconds)
cache:
timeout: 360
directories:
- $HOME/.nuget
- $HOME/.dotnet
- $HOME/Library/Caches/Homebrew