.travis.yml 269 B

123456789101112131415161718
  1. os: linux
  2. language: go
  3. go:
  4. - 1.11.x
  5. - 1.12.x
  6. - 1.13.x
  7. go_import_path: gogs.io/gogs
  8. env:
  9. - GO111MODULE=on
  10. before_install:
  11. - sudo apt-get update -qq
  12. - sudo apt-get install -y libpam-dev
  13. script:
  14. - go build -v -tags "pam"
  15. - go test -v -cover -race ./...