mirror of
https://github.com/eiblog/eiblog.git
synced 2026-03-01 00:34:58 +08:00
update travis.yml
This commit is contained in:
@@ -14,7 +14,10 @@ branches: # 限定项目分支
|
|||||||
only:
|
only:
|
||||||
- /^v[0-9](\.[0-9]){2}(-rc[1-9])?$/
|
- /^v[0-9](\.[0-9]){2}(-rc[1-9])?$/
|
||||||
|
|
||||||
|
install:
|
||||||
|
- curl https://glide.sh/get | sh # 安装glide包管理
|
||||||
script:
|
script:
|
||||||
|
- glide up
|
||||||
- GOOS=linux GOARCH=amd64 go build # 编译版本
|
- GOOS=linux GOARCH=amd64 go build # 编译版本
|
||||||
- docker build -t registry.cn-hangzhou.aliyuncs.com/deepzz/eiblog . # 构建镜像
|
- docker build -t registry.cn-hangzhou.aliyuncs.com/deepzz/eiblog . # 构建镜像
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user