update travis.yml

This commit is contained in:
deepzz0
2017-11-05 12:46:01 +08:00
parent 360204995d
commit 275a6c0c31

View File

@@ -14,7 +14,10 @@ branches: # 限定项目分支
only:
- /^v[0-9](\.[0-9]){2}(-rc[1-9])?$/
install:
- curl https://glide.sh/get | sh # 安装glide包管理
script:
- glide up
- GOOS=linux GOARCH=amd64 go build # 编译版本
- docker build -t registry.cn-hangzhou.aliyuncs.com/deepzz/eiblog . # 构建镜像