diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-29 01:35:06 -0400 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-29 01:35:06 -0400 |
| commit | 1d71f93e2f96bb2b035cd075ef4113eb86d719a1 (patch) | |
| tree | 8345964c4030a2c950702cd8faeab31ea4765c2b /.travis.yml | |
| parent | fd31f5d26d61ee6cf79cd6dd859d9cda29f8a9e6 (diff) | |
Fix ccache in travis (and update readme)
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/.travis.yml b/.travis.yml index 75afe3433..73ed52ccf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,29 +1,9 @@ -language: go -go: - - 1.9.2 -before_cache: - - ccache -s - - mv $GOPATH/src/github.com/ry/v8worker2/out $V8WORKER2_OUT -cache: - directories: - - $HOME/.ccache - - $PROTOBUF_ROOT - - $V8WORKER2_OUT - # Adding the following makes it fail with: - # $ go get ./... - # dispatch.go:5:2: no Go files in /home/travis/gopath/src/github.com/ry/v8worker2 - #- $GOPATH/src/github.com/ry/v8worker2/out +language: c++ +cache: ccache env: global: - - USE_CCACHE=1 - PROTOBUF_ROOT=$HOME/protobuf - - V8WORKER2_OUT=$HOME/v8worker2_out before_install: | - # ccache - unset CCACHE_DISABLE - mkdir -p $HOME/.ccache - export PATH=/usr/lib/ccache:$PATH - # protobuf export PATH=$PROTOBUF_ROOT/bin:$PATH if ! [ -x $PROTOBUF_ROOT/bin/protoc ]; then @@ -37,10 +17,6 @@ before_install: | install: - env - go get -d github.com/ry/v8worker2 - - | - if [ -d $V8WORKER2_OUT ]; then - mv $V8WORKER2_OUT $GOPATH/src/github.com/ry/v8worker2/out - fi - ( cd $GOPATH/src/github.com/ry/v8worker2 && ./build.py --use_ccache ) - go get -u github.com/golang/protobuf/proto - go get -u github.com/spf13/afero |
