-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.travis.yml
More file actions
18 lines (18 loc) · 619 Bytes
/
Copy path.travis.yml
File metadata and controls
18 lines (18 loc) · 619 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: go
sudo: false
go:
- 1.x
- master
before_install:
- go get github.com/mattn/goveralls
- go get github.com/go-sql-driver/mysql
- go get github.com/lib/pq
- go get github.com/gojuno/minimock
- go get github.com/stretchr/testify/assert
- go get github.com/stretchr/testify/require
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
script:
- go test ./...
- go test -c -covermode=count -coverpkg=github.com/hexdigest/prep
- ./prep.test -test.coverprofile coverage.cov
- $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=coverage.cov