summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-05 10:40:53 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-11-05 10:40:53 (GMT)
commit68b9f24bffdefaf08d53329d8ebad1460e05f206 (patch)
tree39c0076c38595ff2cae8987b777c44e5c4fa432d
parent8e6febd2151aacb1b563f09f2f3dbb5a2a25efde (diff)
downloadtk-68b9f24bffdefaf08d53329d8ebad1460e05f206.zip
tk-68b9f24bffdefaf08d53329d8ebad1460e05f206.tar.gz
tk-68b9f24bffdefaf08d53329d8ebad1460e05f206.tar.bz2
Cache homebrew on Travis MacOS builds
-rw-r--r--.travis.yml12
1 files changed, 10 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index e8d4e41..6fd1194 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,8 +17,8 @@ addons:
homebrew:
packages:
- tcl-tk
- casks:
- - xquartz
+# casks:
+# - xquartz
jobs:
include:
# Testing on Linux GCC
@@ -173,7 +173,15 @@ install:
script:
- make binaries libraries tktest
- make install
+before_cache:
+ - |-
+ case $TRAVIS_OS_NAME in
+ osx)
+ brew cleanup
+ ;;
+ esac
cache:
directories:
+ - $HOME/Library/Caches/Homebrew
- $HOME/AppData/Local/Temp/chocolatey
- $HOME/AppData/Local/Apps/Tcl86