1
0
Fork 0
mirror of https://github.com/vbatts/git-validation.git synced 2024-12-26 07:36:30 +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:
Phil Estes 2020-03-26 23:23:26 -04:00
parent c95946fd0c
commit c36adca155
No known key found for this signature in database
GPG key ID: 0F386284C03A1162

View file

@ -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 ./...