From 4936a4e5c20b6eb8c605724b7c874980cfb2b3b5 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 29 May 2018 05:08:11 -0400 Subject: [PATCH] Try to fix travis --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5e23b4ef76..ab47833cdb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,13 @@ language: c++ cache: + ccache: true directories: - .cache/ - node_modules/ - - $HOME/.ccache -cache: ccache + - $V8WORKER2_OUT_PATH env: global: + - V8WORKER2_OUT_PATH=$HOME/v8worker2_out - PROTOBUF_ROOT=$HOME/protobuf before_install: | # protobuf @@ -22,7 +23,8 @@ before_install: | install: - env - go get -d github.com/ry/v8worker2 - - ( cd $GOPATH/src/github.com/ry/v8worker2 && ./build.py --use_ccache ) + - ( cd $GOPATH/src/github.com/ry/v8worker2 && \ + ./build.py --use_ccache --out_path $V8WORKER2_OUT_PATH ) - go get -u github.com/golang/protobuf/proto - go get -u github.com/spf13/afero - go get -u github.com/golang/protobuf/protoc-gen-go