Badges and travis testing (#40)
* Added badges to the README * Restructured the travis configtokarchuk/v1.17
parent
2d68bd1ef9
commit
42a744d9e6
@ -1,30 +1,34 @@ |
|||||||
language: go |
language: go |
||||||
|
|
||||||
go: |
go: |
||||||
- 1.4 |
|
||||||
- 1.5 |
|
||||||
- 1.6 |
- 1.6 |
||||||
- 1.7 |
- 1.7 |
||||||
|
|
||||||
before_install: |
before_install: |
||||||
- sudo apt-get update -qq |
- sudo apt-get update -qq |
||||||
- sudo apt-get install -y libpam-dev |
- sudo apt-get install -y libpam-dev |
||||||
- go get github.com/msteinert/pam |
- go get github.com/msteinert/pam |
||||||
|
|
||||||
install: |
install: |
||||||
- go get -t -v ./... |
- go get -t -v ./... |
||||||
|
|
||||||
script: |
script: | |
||||||
- go build -v -tags "pam" |
go build -v -tags "pam" |
||||||
- go test -v -cover -race ./... |
|
||||||
|
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: |
notifications: |
||||||
email: |
|
||||||
- u@gogs.io |
|
||||||
slack: gophercn:o5pSanyTeNhnfYc3QnG0X7Wx |
|
||||||
webhooks: |
webhooks: |
||||||
|
on_success: change |
||||||
|
on_failure: always |
||||||
|
on_start: never |
||||||
urls: |
urls: |
||||||
- https://webhooks.gitter.im/e/b590f8e03882f7aedc3e |
- https://webhooks.gitter.im/e/ee6b822f3cf54c98e70c |
||||||
on_success: change |
- https://webhooks.gitter.im/e/87428658ef177ce8a7e4 |
||||||
on_failure: always |
- https://webhooks.gitter.im/e/a1d2b69804dfda72187e |
||||||
on_start: never |
|
||||||
|
Loading…
Reference in new issue