forked from mystiq/dex
Merge pull request #455 from ericchiang/update-go-versions-for-travis
*: Update Go versions used for Travis tests and test tip
This commit is contained in:
commit
9c260c7698
2 changed files with 10 additions and 4 deletions
|
@ -5,8 +5,9 @@ services:
|
|||
language: go
|
||||
|
||||
go:
|
||||
- 1.5.3
|
||||
- 1.6
|
||||
- 1.5.4
|
||||
- 1.6.2
|
||||
- tip
|
||||
|
||||
env:
|
||||
- DEX_TEST_DSN="postgres://postgres@127.0.0.1:15432/postgres?sslmode=disable" ISOLATED=true
|
||||
|
@ -43,3 +44,7 @@ deploy:
|
|||
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
- go: tip
|
||||
|
|
5
env
5
env
|
@ -1,5 +1,6 @@
|
|||
MAJOR_GOVERSION=$( go version | grep -o 'go1\.[0-9]')
|
||||
FULL_GOVERSION=$( go version| grep -o 'go1\.[0-9|\.]*' )
|
||||
# For development versions of Go, these will be empty.
|
||||
MAJOR_GOVERSION=$( go version | grep -o 'go1\.[0-9]' || true)
|
||||
FULL_GOVERSION=$( go version| grep -o 'go1\.[0-9|\.]*' || true)
|
||||
|
||||
# The list of unsupported major go versions.
|
||||
UNSUPPORTED=( "go1.0" "go1.1" "go1.2" "go1.3" "go1.4" )
|
||||
|
|
Loading…
Reference in a new issue