From 6bb0f94376858590bb593aaaa9d319908ce8d278 Mon Sep 17 00:00:00 2001 From: David Vogel Date: Sun, 14 Jul 2019 00:21:59 +0200 Subject: [PATCH] Fix cache on windows --- .travis.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 32f7bdc..686ba82 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,10 @@ matrix: - go test - go build before_deploy: ./scripts/pack_windows.x86-64.bat + cache: + directories: + - $HOME/AppData/Local/go-build + - $HOME/gopath/pkg/mod - os: linux script: - xvfb-run go test @@ -23,14 +27,13 @@ matrix: - xvfb - libgtk-3-dev before_deploy: ./scripts/pack_linux.x86-64.sh + cache: + directories: + - $HOME/.cache/go-build + - $HOME/gopath/pkg/mod install: true -cache: - directories: - - $HOME/.cache/go-build - - $HOME/gopath/pkg/mod - deploy: provider: releases api_key: