2018-08-06 09:13:46 +00:00
|
|
|
# Golang is not supported on Shippable ARM64 images. We install it by ourself.
|
|
|
|
language: c
|
2018-08-06 08:58:00 +00:00
|
|
|
|
2018-08-06 09:06:04 +00:00
|
|
|
runtime:
|
|
|
|
nodePool: shippable_shared_aarch64
|
|
|
|
|
2018-08-06 09:00:49 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2018-08-06 08:58:00 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
ci:
|
2018-09-10 18:33:50 +00:00
|
|
|
- uname -a
|
2018-08-25 07:35:20 +00:00
|
|
|
- curl -L -o golang.tar.gz https://dl.google.com/go/go1.11.linux-arm64.tar.gz
|
2018-08-06 09:13:46 +00:00
|
|
|
- tar -C /usr/local -xzf golang.tar.gz
|
|
|
|
- export PATH=$PATH:/usr/local/go/bin
|
2018-08-06 10:13:58 +00:00
|
|
|
- export GOPATH=/v2ray
|
2018-08-31 12:05:52 +00:00
|
|
|
- go get v2ray.com/core/...
|
|
|
|
- go get v2ray.com/ext/...
|
2018-08-06 08:58:00 +00:00
|
|
|
- go test -p 1 -v v2ray.com/core/...
|