.travis.yml 513 B

123456789101112131415161718192021222324252627282930
  1. language: go
  2. go:
  3. - 1.4
  4. - 1.5
  5. - 1.6
  6. - 1.7
  7. before_install:
  8. - sudo apt-get update -qq
  9. - sudo apt-get install -y libpam-dev
  10. - go get github.com/msteinert/pam
  11. install:
  12. - go get -t -v ./...
  13. script:
  14. - go build -v -tags "pam"
  15. - go test -v -cover -race ./...
  16. notifications:
  17. email:
  18. - u@gogs.io
  19. slack: gophercn:o5pSanyTeNhnfYc3QnG0X7Wx
  20. webhooks:
  21. urls:
  22. - https://webhooks.gitter.im/e/b590f8e03882f7aedc3e
  23. on_success: change
  24. on_failure: always
  25. on_start: never