master
李光春 3 years ago
parent 792a7d64c2
commit 2bd0581bc1

@ -5,8 +5,6 @@ export GOPROXY=https://goproxy.cn,direct
mkdir -p $GOPATH/src/dtapps/golibrary/
##拷贝代码到创建好的目录
cp -rf . $GOPATH/src/dtapps/golibrary/
##未使用vendor时下载依赖包
go get
##进入项目
cd $GOPATH/src/dtapps/golibrary/
##构建在GOPATH下生成构建包

@ -3,5 +3,6 @@ language: go
go:
- master
after_success:
- bash <(curl -s https://codecov.io/bash)
script:
- go mod tidy
- ls -lh
Loading…
Cancel
Save