summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorThomas Boerger <thomas@webhippie.de>2016-11-04 13:58:55 +0100
committerThomas Boerger <thomas@webhippie.de>2016-11-04 23:45:47 +0100
commitec054ba582d72c2c0cdd07404dc512da7d142031 (patch)
tree90880e2a5a103267f5005abf957d04eeafb94fba /.travis.yml
parent7a870080d670a7dd622f32710a708d682ae4ac08 (diff)
downloadgitea-ec054ba582d72c2c0cdd07404dc512da7d142031.tar.gz
gitea-ec054ba582d72c2c0cdd07404dc512da7d142031.zip
Totally refactored the makefile and adjusted travis config
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml16
1 files changed, 10 insertions, 6 deletions
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)