1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 21:50:00 -05:00
denoland-deno/.travis.yml

36 lines
838 B
YAML
Raw Normal View History

2018-05-14 03:06:09 -04:00
language: go
go:
- 1.9.2
2018-05-22 15:25:16 -04:00
before_cache:
- ccache -s
2018-05-23 13:38:43 -04:00
cache:
directories:
- $HOME/.ccache
2018-05-23 14:29:14 -04:00
- $PROTOBUF_ROOT
env:
global:
- USE_CCACHE=1
- PROTOBUF_ROOT=$HOME/protobuf
before_install: |
if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
2018-05-24 12:03:44 -04:00
# protoc
2018-05-24 13:47:05 -04:00
if [ -d $PROTOBUF_ROOT ]; then
mkdir -p $PROTOBUF_ROOT
pushd $PROTOBUF_ROOT
wget https://github.com/google/protobuf/releases/download/v3.1.0/protoc-3.1.0-linux-x86_64.zip
unzip protoc-3.1.0-linux-x86_64.zip
popd
export PATH=$PROTOBUF_ROOT/bin:$PATH
fi
2018-05-23 14:29:14 -04:00
fi
2018-05-14 03:06:09 -04:00
install:
2018-05-23 13:38:43 -04:00
- mkdir -p $HOME/.ccache
- export PATH=/usr/lib/ccache:$PATH
2018-05-22 20:09:37 +04:30
- go get -u github.com/jteeuwen/go-bindata/...
2018-05-14 21:52:43 -04:00
- go get -d github.com/ry/v8worker2
2018-05-18 12:32:37 -04:00
- (cd $GOPATH/src/github.com/ry/v8worker2 && ./tools/build.py)
2018-05-14 03:06:09 -04:00
script:
2018-05-24 13:47:05 -04:00
- yarn lint-version
2018-05-14 03:06:09 -04:00
- make lint
2018-05-22 20:09:37 +04:30
- make test