.travis.yml 258 B

1234567891011121314151617
  1. os: linux
  2. language: go
  3. go:
  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 ./...