Merge pull request #168 from pusher/drop-1.11
Drop Go 1.11 from Travis CI
This commit is contained in:
		
						commit
						40cf6b2626
					
				|  | @ -1,6 +1,5 @@ | ||||||
| language: go | language: go | ||||||
| go: | go: | ||||||
|   - 1.11.x |  | ||||||
|   - 1.12.x |   - 1.12.x | ||||||
| install: | install: | ||||||
|   # Fetch dependencies |   # Fetch dependencies | ||||||
|  |  | ||||||
|  | @ -10,6 +10,7 @@ | ||||||
| 
 | 
 | ||||||
| ## Changes since v3.2.0 | ## Changes since v3.2.0 | ||||||
| 
 | 
 | ||||||
|  | - [#168](https://github.com/pusher/outh2_proxy/pull/168) Drop Go 1.11 support in Travis (@JoelSpeed) | ||||||
| - [#169](https://github.com/pusher/outh2_proxy/pull/169) Update Alpine to 3.9 (@kskewes) | - [#169](https://github.com/pusher/outh2_proxy/pull/169) Update Alpine to 3.9 (@kskewes) | ||||||
| - [#148](https://github.com/pusher/outh2_proxy/pull/148) Implement SessionStore interface within proxy (@JoelSpeed) | - [#148](https://github.com/pusher/outh2_proxy/pull/148) Implement SessionStore interface within proxy (@JoelSpeed) | ||||||
| - [#147](https://github.com/pusher/outh2_proxy/pull/147) Add SessionStore interfaces and initial implementation (@JoelSpeed) | - [#147](https://github.com/pusher/outh2_proxy/pull/147) Add SessionStore interfaces and initial implementation (@JoelSpeed) | ||||||
|  |  | ||||||
|  | @ -81,7 +81,7 @@ check_for() { | ||||||
| check_go_version() { | check_go_version() { | ||||||
|   echo -n "Checking go version... " |   echo -n "Checking go version... " | ||||||
|   GO_VERSION=$(${tools[go]} version | ${tools[awk]} '{where = match($0, /[0-9]\.[0-9]+\.[0-9]*/); if (where != 0) print substr($0, RSTART, RLENGTH)}') |   GO_VERSION=$(${tools[go]} version | ${tools[awk]} '{where = match($0, /[0-9]\.[0-9]+\.[0-9]*/); if (where != 0) print substr($0, RSTART, RLENGTH)}') | ||||||
|   vercomp $GO_VERSION 1.11 |   vercomp $GO_VERSION 1.12 | ||||||
|   case $? in |   case $? in | ||||||
|     0) ;& |     0) ;& | ||||||
|     1) |     1) | ||||||
|  | @ -91,7 +91,7 @@ check_go_version() { | ||||||
|       ;; |       ;; | ||||||
|     2) |     2) | ||||||
|       printf "${RED}" |       printf "${RED}" | ||||||
|       echo "$GO_VERSION < 1.11" |       echo "$GO_VERSION < 1.12" | ||||||
|       exit 1 |       exit 1 | ||||||
|       ;; |       ;; | ||||||
|   esac |   esac | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue