加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 521 Bytes
一键复制 编辑 原始数据 按行查看 历史
appilon 提交于 2019-10-10 13:04 . [MODULES] Switch to Go Modules (#121)
dist: trusty
sudo: required
services:
- docker
language: go
go:
- "1.11.x"
install:
# This script is used by the Travis build to install a cookie for
# go.googlesource.com so rate limits are higher when using `go get` to fetch
# packages that live there.
# See: https://github.com/golang/go/issues/12933
- bash scripts/gogetcookie.sh
script:
- make test
- make vet
- make website-test
branches:
only:
- master
matrix:
fast_finish: true
allow_failures:
- go: tip
env:
- GOFLAGS=-mod=vendor GO111MODULE=on
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化