You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
711 B

10 years ago
9 years ago
9 years ago
9 years ago
  1. language: go
  2. go:
  3. - 1.6
  4. - 1.7
  5. before_install:
  6. - sudo apt-get update -qq
  7. - sudo apt-get install -y libpam-dev
  8. - go get github.com/msteinert/pam
  9. install:
  10. - go get -t -v ./...
  11. script: |
  12. go build -v -tags "pam"
  13. for pkg in $(go list ./... | grep -v /vendor/)
  14. do
  15. go test -v -race -cover -coverprofile $GOPATH/src/$pkg/coverage.out $pkg || exit 1
  16. done
  17. after_success:
  18. - bash <(curl -s https://codecov.io/bash)
  19. notifications:
  20. webhooks:
  21. on_success: change
  22. on_failure: always
  23. on_start: never
  24. urls:
  25. - https://webhooks.gitter.im/e/ee6b822f3cf54c98e70c
  26. - https://webhooks.gitter.im/e/87428658ef177ce8a7e4
  27. - https://webhooks.gitter.im/e/a1d2b69804dfda72187e