.travis.yml 505 B

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