CI配置-Go语言版本要求1.7+
parent
333049206f
commit
2426d3a4b9
|
@ -1,9 +1,5 @@
|
||||||
language: go
|
language: go
|
||||||
go:
|
go:
|
||||||
- 1.5.x
|
|
||||||
- 1.6.x
|
|
||||||
- 1.7.x
|
- 1.7.x
|
||||||
- 1.8.x
|
- 1.8.x
|
||||||
- master
|
- master
|
||||||
env:
|
|
||||||
- GO15VENDOREXPERIMENT=1
|
|
|
@ -37,7 +37,7 @@
|
||||||
* Linux、OSX: `./gocron web`
|
* Linux、OSX: `./gocron web`
|
||||||
4. 浏览器访问 http://localhost:5920
|
4. 浏览器访问 http://localhost:5920
|
||||||
### 源码安装
|
### 源码安装
|
||||||
1. `go`语言版本1.5+, 1.5版本需设置环境变量 `GO15VENDOREXPERIMENT=1`
|
1. `go`语言版本1.7+
|
||||||
2. `go get -d https://github.com/ouqiang/gocron`
|
2. `go get -d https://github.com/ouqiang/gocron`
|
||||||
3. 编译 `go build`
|
3. 编译 `go build`
|
||||||
4. 启动、访问方式同上
|
4. 启动、访问方式同上
|
||||||
|
|
Loading…
Reference in New Issue