git.iko.soy/typeable/oauth2-proxy
on master help sign in
build: use go 1.12 (#124)

* build: use go 1.12 * Update CHANGELOG.md

commitbf9fedb3cf736c745720ad298a16423d81e349d1 authorDan Bond <pm@danbond.io> dateFri 12 Apr 2019, 11:15 (8 years ago) parent66a8243
4 files changed+5−4
.travis.yml+1−1 CHANGELOG.md+1 Dockerfile+1−1 configure+2−2
.travis.yml+1−1
@@ -1,7 +1,7 @@
11language: go
22go:
3− - 1.10.x
43 - 1.11.x
4+ - 1.12.x
55install:
66 # Fetch dependencies
77 - wget -O dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64
CHANGELOG.md+1
@@ -21,6 +21,7 @@
2121- [#83](https://github.com/pusher/oauth2_proxy/pull/83) Add `id_token` refresh to Google provider (@leki75)
2222- [#10](https://github.com/pusher/oauth2_proxy/pull/10) fix redirect url param handling (@dt-rush)
2323- [#122](https://github.com/pusher/oauth2_proxy/pull/122) Expose -cookie-path as configuration parameter (@costelmoraru)
24+- [#124](https://github.com/pusher/oauth2_proxy/pull/124) Use Go 1.12 for testing and build environments (@syscll)
2425
2526# v3.1.0
2627
Dockerfile+1−1
@@ -1,4 +1,4 @@
1−FROM golang:1.11-stretch AS builder
1+FROM golang:1.12-stretch AS builder
22
33# Download tools
44RUN wget -O $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64
configure+2−2
@@ -81,7 +81,7 @@ check_for() {
8181check_go_version() {
8282 echo -n "Checking go version... "
8383 GO_VERSION=$(${tools[go]} version | ${tools[awk]} '{where = match($0, /[0-9]\.[0-9]+\.[0-9]*/); if (where != 0) print substr($0, RSTART, RLENGTH)}')
84− vercomp $GO_VERSION 1.10
84+ vercomp $GO_VERSION 1.11
8585 case $? in
8686 0) ;&
8787 1)
@@ -91,7 +91,7 @@ check_go_version() {
9191 ;;
9292 2)
9393 printf "${RED}"
94− echo "$GO_VERSION < 1.10"
94+ echo "$GO_VERSION < 1.11"
9595 exit 1
9696 ;;
9797 esac