mirror of
https://gitee.com/gitea/gitea.git
synced 2024-12-16 15:41:11 +08:00
Setup CI with testing
This commit is contained in:
parent
58e004f7da
commit
e9b9e6eb53
@ -3,6 +3,7 @@ language: go
|
|||||||
go:
|
go:
|
||||||
- 1.4
|
- 1.4
|
||||||
- 1.5
|
- 1.5
|
||||||
|
- 1.6
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
@ -12,7 +13,9 @@ before_install:
|
|||||||
install:
|
install:
|
||||||
- go get -t -v ./...
|
- go get -t -v ./...
|
||||||
|
|
||||||
script: go build -v -tags "pam"
|
script:
|
||||||
|
- go build -v -tags "pam"
|
||||||
|
- go test -v -cover -race ./...
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email:
|
email:
|
||||||
|
Loading…
Reference in New Issue
Block a user