0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 17:34:47 -05:00

Attempt to fix travis

This commit is contained in:
Ryan Dahl 2018-05-27 14:35:55 -04:00
parent 3d76dc51b7
commit 386eb082fe

View file

@ -7,11 +7,18 @@ cache:
directories: directories:
- $HOME/.ccache - $HOME/.ccache
- $PROTOBUF_ROOT - $PROTOBUF_ROOT
- $GOPATH/src/github.com/ry/v8worker2/out
env: env:
global: global:
- USE_CCACHE=1 - USE_CCACHE=1
- PROTOBUF_ROOT=$HOME/protobuf - PROTOBUF_ROOT=$HOME/protobuf
before_install: | before_install: |
# ccache
unset CCACHE_DISABLE
mkdir -p $HOME/.ccache
export PATH=/usr/lib/ccache:$PATH
# protobuf
export PATH=$PROTOBUF_ROOT/bin:$PATH export PATH=$PROTOBUF_ROOT/bin:$PATH
if ! [ -x $PROTOBUF_ROOT/bin/protoc ]; then if ! [ -x $PROTOBUF_ROOT/bin/protoc ]; then
rm -rf $PROTOBUF_ROOT rm -rf $PROTOBUF_ROOT
@ -22,14 +29,14 @@ before_install: |
popd popd
fi fi
install: install:
- mkdir -p $HOME/.ccache - go get ./...
- export PATH=/usr/lib/ccache:$PATH - go get -u github.com/spf13/afero
- go get -u github.com/golang/protobuf/protoc-gen-go - go get -u github.com/golang/protobuf/protoc-gen-go
- go get -u github.com/jteeuwen/go-bindata/... - go get -u github.com/jteeuwen/go-bindata/...
- go get -d github.com/ry/v8worker2 - go get -d github.com/ry/v8worker2
- env
- (cd $GOPATH/src/github.com/ry/v8worker2 && ./tools/build.py) - (cd $GOPATH/src/github.com/ry/v8worker2 && ./tools/build.py)
- yarn - yarn
script: script:
- yarn lint-version
- make lint - make lint
- make test - make test