mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 15:36:41 -05:00
use golang 1.11.1
This commit is contained in:
parent
0893de8901
commit
8a157316d4
@ -1,7 +1,7 @@
|
||||
sudo: required
|
||||
language: go
|
||||
go:
|
||||
- "1.11"
|
||||
- "1.11.1"
|
||||
go_import_path: v2ray.com/core
|
||||
git:
|
||||
depth: 5
|
||||
|
@ -13,7 +13,7 @@ version: "1.0.{build}"
|
||||
environment:
|
||||
global:
|
||||
GOPATH: C:\gopath
|
||||
GOVERSION: "1.11"
|
||||
GOVERSION: "1.11.1"
|
||||
|
||||
install:
|
||||
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
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
|
||||
GO_AMD64=https://storage.googleapis.com/golang/go1.11.1.linux-amd64.tar.gz
|
||||
GO_X86=https://storage.googleapis.com/golang/go1.11.1.linux-386.tar.gz
|
||||
ARCH=$(uname -m)
|
||||
GO_CUR=${GO_AMD64}
|
||||
|
||||
|
@ -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.11.linux-amd64.tar.gz
|
||||
curl -L -o ${GO_INSTALL} https://storage.googleapis.com/golang/go1.11.1.linux-amd64.tar.gz
|
||||
tar -C /usr/local -xzf ${GO_INSTALL}
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
|
||||
|
@ -11,7 +11,7 @@ branches:
|
||||
build:
|
||||
ci:
|
||||
- uname -a
|
||||
- curl -L -o golang.tar.gz https://dl.google.com/go/go1.11.linux-arm64.tar.gz
|
||||
- curl -L -o golang.tar.gz https://dl.google.com/go/go1.11.1.linux-arm64.tar.gz
|
||||
- tar -C /usr/local -xzf golang.tar.gz
|
||||
- export PATH=$PATH:/usr/local/go/bin
|
||||
- export GOPATH=/v2ray
|
||||
|
Loading…
Reference in New Issue
Block a user