Bläddra i källkod

update shippable ci

Darien Raymond 7 år sedan
förälder
incheckning
152a5627c7
1 ändrade filer med 5 tillägg och 4 borttagningar
  1. 5 4
      shippable.yml

+ 5 - 4
shippable.yml

@@ -1,17 +1,18 @@
-language: go
+# Golang is not supported on Shippable ARM64 images. We install it by ourself.
+language: c
 
 runtime:
   nodePool: shippable_shared_aarch64
 
-go:
-  - "1.10"
-
 branches:
   only:
     - master
 
 build:
   ci:
+    - curl -L -o golang.tar.gz https://dl.google.com/go/go1.10.3.linux-arm64.tar.gz
+    - tar -C /usr/local -xzf golang.tar.gz
+    - export PATH=$PATH:/usr/local/go/bin
     - go get -u v2ray.com/core/...
     - go get -u v2ray.com/ext/...
     - go test -p 1 -v v2ray.com/core/...