Merge pull request #168 from pusher/drop-1.11

Drop Go 1.11 from Travis CI
This commit is contained in:
Joel Speed 2019-06-03 15:22:35 +01:00 committed by GitHub
commit 40cf6b2626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,5 @@
language: go
go:
- 1.11.x
- 1.12.x
install:
# Fetch dependencies

View File

@ -10,6 +10,7 @@
## 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)
- [#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)

4
configure vendored
View File

@ -81,7 +81,7 @@ check_for() {
check_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)}')
vercomp $GO_VERSION 1.11
vercomp $GO_VERSION 1.12
case $? in
0) ;&
1)
@ -91,7 +91,7 @@ check_go_version() {
;;
2)
printf "${RED}"
echo "$GO_VERSION < 1.11"
echo "$GO_VERSION < 1.12"
exit 1
;;
esac