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