From 275a6c0c314dd3b8a545a9fd039c6ec1b9b305fa Mon Sep 17 00:00:00 2001 From: deepzz0 Date: Sun, 5 Nov 2017 12:46:01 +0800 Subject: [PATCH] update travis.yml --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 36616bf..4ff2869 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 . # 构建镜像