mirror of
https://github.com/vbatts/git-validation.git
synced 2024-11-25 17:45:40 +00:00
Update travis to supported Go versions
Remove unsupported/old Golang versions from Travis run. Signed-off-by: Phil Estes <estesp@vnet.linux.ibm.com>
This commit is contained in:
parent
c95946fd0c
commit
c36adca155
1 changed files with 1 additions and 6 deletions
|
@ -4,10 +4,7 @@ go_import_path: github.com/vbatts/git-validation
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- "tip"
|
- "tip"
|
||||||
- "1.x"
|
- "1.13.x"
|
||||||
- "1.11.x"
|
|
||||||
- "1.10.x"
|
|
||||||
- "1.9.x"
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|
||||||
|
@ -27,10 +24,8 @@ before_script:
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- go get ./...
|
- go get ./...
|
||||||
- if [[ "$(go version |awk '{ print $3 }')" =~ ^go1\.11\. ]] ; then go get -u golang.org/x/lint/golint ; fi
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- if [[ "$(go version |awk '{ print $3 }')" =~ ^go1\.11\. ]] ; then golint -set_exit_status ./... ; fi
|
|
||||||
- go vet -x ./...
|
- go vet -x ./...
|
||||||
- go build .
|
- go build .
|
||||||
- go test -v ./...
|
- go test -v ./...
|
||||||
|
|
Loading…
Reference in a new issue