Browse Source

upgrade to go 1.11

pull/1269/head
Darien Raymond 6 years ago
parent
commit
a2d2d2981c
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
  1. 2
      .travis.yml
  2. 2
      appveyor.yml
  3. 4
      release/install.sh
  4. 2
      release/release-ci.sh
  5. 2
      shippable.yml

2
.travis.yml

@ -1,7 +1,7 @@
sudo: required
language: go
go:
- "1.10.2"
- "1.11"
go_import_path: v2ray.com/core
git:
depth: 5

2
appveyor.yml

@ -10,6 +10,8 @@ branches:
version: "1.0.{build}"
stack: "go 1.11"
environment:
global:
GOPATH: C:\gopath

4
release/install.sh

@ -1,7 +1,7 @@
#!/bin/bash
GO_AMD64=https://storage.googleapis.com/golang/go1.10.linux-amd64.tar.gz
GO_X86=https://storage.googleapis.com/golang/go1.10.linux-386.tar.gz
GO_AMD64=https://storage.googleapis.com/golang/go1.11.linux-amd64.tar.gz
GO_X86=https://storage.googleapis.com/golang/go1.11.linux-386.tar.gz
ARCH=$(uname -m)
GO_CUR=${GO_AMD64}

2
release/release-ci.sh

@ -25,7 +25,7 @@ echo ${SIGN_KEY_PASS} | gpg --passphrase-fd 0 --batch --import /v2ray/build/sign
curl -L -o /v2ray/build/releases https://api.github.com/repos/v2ray/v2ray-core/releases
GO_INSTALL=golang.tar.gz
curl -L -o ${GO_INSTALL} https://storage.googleapis.com/golang/go1.10.2.linux-amd64.tar.gz
curl -L -o ${GO_INSTALL} https://storage.googleapis.com/golang/go1.11.linux-amd64.tar.gz
tar -C /usr/local -xzf ${GO_INSTALL}
export PATH=$PATH:/usr/local/go/bin

2
shippable.yml

@ -10,7 +10,7 @@ branches:
build:
ci:
- curl -L -o golang.tar.gz https://dl.google.com/go/go1.10.3.linux-arm64.tar.gz
- curl -L -o golang.tar.gz https://dl.google.com/go/go1.11.linux-arm64.tar.gz
- tar -C /usr/local -xzf golang.tar.gz
- export PATH=$PATH:/usr/local/go/bin
- export GOPATH=/v2ray

Loading…
Cancel
Save