forked from TrueCloudLab/neoneo-go
Setup TravisCI for dev branch (#161)
fix #157 before merge, needs #160 to be merged Just need enable TravisCI, who has write access for this repo
This commit is contained in:
parent
926dd20792
commit
bf16bcfc35
1 changed files with 17 additions and 0 deletions
17
.travis.yml
Normal file
17
.travis.yml
Normal file
|
@ -0,0 +1,17 @@
|
|||
language: go
|
||||
go:
|
||||
- 1.11.x
|
||||
- 1.12.x
|
||||
env:
|
||||
- GO111MODULE=on
|
||||
install:
|
||||
- go get -v golang.org/x/lint/golint
|
||||
- go mod tidy -v
|
||||
script:
|
||||
- golint -set_exit_status ./...
|
||||
- go test -race -coverprofile=coverage.txt -covermode=atomic ./...
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
matrix:
|
||||
allow_failures:
|
||||
- go: tip
|
Loading…
Reference in a new issue