mirror of
https://github.com/vbatts/git-validation.git
synced 2024-11-22 08:05:39 +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:
|
||||
- "tip"
|
||||
- "1.x"
|
||||
- "1.11.x"
|
||||
- "1.10.x"
|
||||
- "1.9.x"
|
||||
- "1.13.x"
|
||||
|
||||
env:
|
||||
|
||||
|
@ -27,10 +24,8 @@ before_script:
|
|||
|
||||
before_install:
|
||||
- go get ./...
|
||||
- if [[ "$(go version |awk '{ print $3 }')" =~ ^go1\.11\. ]] ; then go get -u golang.org/x/lint/golint ; fi
|
||||
|
||||
script:
|
||||
- if [[ "$(go version |awk '{ print $3 }')" =~ ^go1\.11\. ]] ; then golint -set_exit_status ./... ; fi
|
||||
- go vet -x ./...
|
||||
- go build .
|
||||
- go test -v ./...
|
||||
|
|
Loading…
Reference in a new issue