diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2016-11-04 00:11:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-04 00:11:08 +0800 |
commit | 1adde07a3fc4a43ec3d5829dc3e5ba9587584f77 (patch) | |
tree | 5718e7f30d625d25a61368453830cac17a8b1e6f /.travis.yml | |
parent | 8ea63f8c506410d09e6b8b0dbcb102271bd9cbbe (diff) | |
parent | 42a744d9e61168765f97884a8efec13cd3fedff7 (diff) | |
download | gitea-1adde07a3fc4a43ec3d5829dc3e5ba9587584f77.tar.gz gitea-1adde07a3fc4a43ec3d5829dc3e5ba9587584f77.zip |
Merge branch 'master' into fix/3743-route-regexp-branchname
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/.travis.yml b/.travis.yml index 82387935a7..77093af494 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,30 +1,34 @@ language: go go: - - 1.4 - - 1.5 - 1.6 - 1.7 before_install: - sudo apt-get update -qq - sudo apt-get install -y libpam-dev - - go get github.com/msteinert/pam + - go get github.com/msteinert/pam install: - go get -t -v ./... -script: - - go build -v -tags "pam" - - go test -v -cover -race ./... +script: | + go build -v -tags "pam" + + for pkg in $(go list ./... | grep -v /vendor/) + do + go test -v -race -cover -coverprofile $GOPATH/src/$pkg/coverage.out $pkg || exit 1 + done + +after_success: + - bash <(curl -s https://codecov.io/bash) notifications: - email: - - u@gogs.io - slack: gophercn:o5pSanyTeNhnfYc3QnG0X7Wx webhooks: + on_success: change + on_failure: always + on_start: never urls: - - https://webhooks.gitter.im/e/b590f8e03882f7aedc3e - on_success: change - on_failure: always - on_start: never + - https://webhooks.gitter.im/e/ee6b822f3cf54c98e70c + - https://webhooks.gitter.im/e/87428658ef177ce8a7e4 + - https://webhooks.gitter.im/e/a1d2b69804dfda72187e |