.travis.yml 356 B

1234567891011121314151617181920
  1. os: linux
  2. language: go
  3. go:
  4. - 1.13.x
  5. - 1.14.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 -race -coverprofile=coverage.txt -covermode=atomic ./...
  15. after_success:
  16. - bash <(curl -s https://codecov.io/bash)