Skip to content
This repository has been archived by the owner on Aug 31, 2019. It is now read-only.

Commit

Permalink
update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jjeffery committed Jan 28, 2017
1 parent 1338138 commit 08da77e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: go
go:
- 1.8
- 1.7
- 1.6
- 1.5
Expand All @@ -13,13 +14,15 @@ before_script:
- psql -c "grant all privileges on database sqlrow_test to sqlrow_test;" -U postgres

install:
- go get github.com/mattn/go-sqlite3
- go get github.com/jjeffery/errors
- go get github.com/lib/pq
- go get github.com/mattn/go-sqlite3
- go get github.com/spf13/pflag
- go get golang.org/x/tools/cmd/cover
- go get github.com/mattn/goveralls

script:
- go test ./...
- go test . ./private/...
- go test -race
- go test -v -covermode=count -coverprofile=coverage.out
- $(go env GOPATH | awk 'BEGIN{FS=":"} {print $1}')/bin/goveralls -coverprofile=coverage.out -service=travis-ci
- $GOPATH/bin/goveralls -coverprofile=coverage.out -service=travis-ci

0 comments on commit 08da77e

Please sign in to comment.