forked from denoland/deno
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 1006 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: c++
cache:
ccache: true
directories:
- .cache/
- node_modules/
- $V8WORKER2_OUT_PATH
env:
global:
- V8WORKER2_OUT_PATH=$HOME/v8worker2_out
- PROTOBUF_ROOT=$HOME/protobuf
before_install: |
# protobuf
export PATH=$PROTOBUF_ROOT/bin:$PATH
if ! [ -x $PROTOBUF_ROOT/bin/protoc ]; then
rm -rf $PROTOBUF_ROOT
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
fi
install:
- mkdir -p $GOPATH/src/github.com/ry
- ln -s `pwd` $GOPATH/src/github.com/ry/deno
- env
- go get -d github.com/ry/v8worker2
- $GOPATH/src/github.com/ry/v8worker2/build.py --use_ccache --out_path $V8WORKER2_OUT_PATH
- go get -u github.com/golang/protobuf/proto
- 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/...
- yarn
script:
- make lint
- make test