1 Star 0 Fork 616

wxkj / gf

forked from John / gf 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 660 Bytes
一键复制 编辑 原始数据 按行查看 历史
蚊子 提交于 2019-08-12 16:57 . to support automated testing of postgres
language: go
go:
- "1.11.x"
- "1.12.x"
branches:
only:
- master
- develop
- staging
env:
- GO111MODULE=on
services:
- mysql
- redis-server
- postgresql
addons:
postgresql: "9.4"
hosts:
- local
before_install:
- mysql -e 'CREATE DATABASE IF NOT EXISTS test;'
install:
- cat /etc/hosts
before_script:
- find . -name "*.go" | xargs gofmt -w
- git diff --name-only --exit-code || exit 1
- psql -c 'create database travis_ci_test;' -U postgres
script:
- GOARCH=386 go test -v ./... || exit 1
- GOARCH=amd64 go test -v ./... -race -coverprofile=coverage.txt -covermode=atomic
after_success:
- bash <(curl -s https://codecov.io/bash)
Go
1
https://gitee.com/wxkj/gf.git
git@gitee.com:wxkj/gf.git
wxkj
gf
gf
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891