.travis.yml 259 B

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