summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2018-05-27 14:35:55 -0400
committerRyan Dahl <ry@tinyclouds.org>2018-05-27 14:53:56 -0400
commit386eb082fe6af904fe7b52202bc85b58ff168e33 (patch)
tree5d8c25fcb09f04903d59f98a31cfd0c77b2c9490
parent3d76dc51b764b093b6d72e80835b80a7bb87115b (diff)
Attempt to fix travis
-rw-r--r--.travis.yml13
1 files changed, 10 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index db8ebbc84..89e6707e8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,11 +7,18 @@ cache:
directories:
- $HOME/.ccache
- $PROTOBUF_ROOT
+ - $GOPATH/src/github.com/ry/v8worker2/out
env:
global:
- USE_CCACHE=1
- PROTOBUF_ROOT=$HOME/protobuf
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
rm -rf $PROTOBUF_ROOT
@@ -22,14 +29,14 @@ before_install: |
popd
fi
install:
- - mkdir -p $HOME/.ccache
- - export PATH=/usr/lib/ccache:$PATH
+ - go get ./...
+ - go get -u github.com/spf13/afero
- go get -u github.com/golang/protobuf/protoc-gen-go
- go get -u github.com/jteeuwen/go-bindata/...
- go get -d github.com/ry/v8worker2
+ - env
- (cd $GOPATH/src/github.com/ry/v8worker2 && ./tools/build.py)
- yarn
script:
- - yarn lint-version
- make lint
- make test