mirror of
https://github.com/hanzoai/dbx.git
synced 2026-10-30 18:40:28 +00:00
Suite, fixture, Travis and hanzo.yml agree on dbx_test. Badges, install and import paths use github.com/hanzoai/dbx. Co-authored-by: Hanzo Dev <[email protected]>
23 lines
421 B
YAML
23 lines
421 B
YAML
dist: bionic
|
|
|
|
language: go
|
|
|
|
go:
|
|
- 1.13.x
|
|
|
|
services:
|
|
- mysql
|
|
|
|
install:
|
|
- go get golang.org/x/tools/cmd/cover
|
|
- go get github.com/mattn/goveralls
|
|
- go get golang.org/x/lint/golint
|
|
|
|
before_script:
|
|
- mysql -e 'CREATE DATABASE dbx_test;';
|
|
|
|
script:
|
|
- test -z "`gofmt -l -d .`"
|
|
- go test -v -covermode=count -coverprofile=coverage.out
|
|
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci
|