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.

30 lines
678 B

10 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. script:
  9. - go build -v -tags 'cert sqlite pam miniwinsvc'
  10. - |
  11. for pkg in $(go list ./... | grep -v /vendor/)
  12. do
  13. go test -v -race -cover -coverprofile $GOPATH/src/$pkg/coverage.out $pkg || exit 1
  14. done
  15. after_success:
  16. - bash <(curl -s https://codecov.io/bash)
  17. notifications:
  18. webhooks:
  19. on_success: change
  20. on_failure: always
  21. on_start: never
  22. urls:
  23. - https://webhooks.gitter.im/e/ee6b822f3cf54c98e70c
  24. - https://webhooks.gitter.im/e/87428658ef177ce8a7e4
  25. - https://webhooks.gitter.im/e/a1d2b69804dfda72187e