From ec054ba582d72c2c0cdd07404dc512da7d142031 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Fri, 4 Nov 2016 13:58:55 +0100 Subject: Totally refactored the makefile and adjusted travis config --- .travis.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index bcffa23baf..177552f856 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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) -- cgit v1.2.3