aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 202f683a84028842123b016029f268b8b1f6d104 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
os: linux
language: go
go:
  - 1.13.x
  - 1.14.x
go_import_path: gogs.io/gogs

env:
  - GO111MODULE=on

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -y libpam-dev

script:
  - go build -v -tags "pam"
  - go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...

after_success:
  - bash <(curl -s https://codecov.io/bash)