2018-05-14 07:06:09 +00:00
|
|
|
language: go
|
|
|
|
go:
|
|
|
|
- 1.9.2
|
2018-05-22 19:25:16 +00:00
|
|
|
before_cache:
|
|
|
|
- ccache -s
|
2018-05-23 17:38:43 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.ccache
|
2018-05-14 07:06:09 +00:00
|
|
|
install:
|
2018-05-23 17:38:43 +00:00
|
|
|
- mkdir -p $HOME/.ccache
|
|
|
|
- export PATH=/usr/lib/ccache:$PATH
|
2018-05-22 15:39:37 +00:00
|
|
|
- sudo apt-get install protobuf-compiler
|
|
|
|
- go get -u github.com/jteeuwen/go-bindata/...
|
2018-05-15 01:52:43 +00:00
|
|
|
- go get -d github.com/ry/v8worker2
|
2018-05-18 16:32:37 +00:00
|
|
|
- (cd $GOPATH/src/github.com/ry/v8worker2 && ./tools/build.py)
|
2018-05-14 07:06:09 +00:00
|
|
|
script:
|
|
|
|
- make lint
|
2018-05-22 15:39:37 +00:00
|
|
|
- make test
|