Totally refactored the makefile and adjusted travis config

This commit is contained in:
Thomas Boerger
2016-11-04 13:58:55 +01:00
parent 7a870080d6
commit ec054ba582
2 changed files with 126 additions and 64 deletions
+10 -6
View File
@@ -4,17 +4,21 @@ go:
- 1.6
- 1.7
env:
TAGS: cert sqlite pam miniwinsvc
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libpam-dev
script:
- go build -v -tags 'cert sqlite pam miniwinsvc'
- |
for pkg in $(go list ./... | grep -v /vendor/)
do
go test -v -race -cover -coverprofile $GOPATH/src/$pkg/coverage.out $pkg || exit 1
done
- make clean
- make vet
# - make lint
- make test
- make build
after_success:
- bash <(curl -s https://codecov.io/bash)