3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-11 06:29:29 +01:00

Merge pull request #1236 from slingamn/issue1195_go_upgrade

fix #1195
This commit is contained in:
Shivaram Lingamneni 2020-08-11 18:23:30 -07:00 committed by GitHub
commit 385993fb2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
language: go
go:
- "1.14.x"
- "1.15.x"
before_install:
# https://github.com/travis-ci/travis-ci/issues/8361

View File

@ -12,7 +12,7 @@ Oragono vendors all its dependencies. Because of this, Oragono is self-contained
If you're upgrading the Go version used by Oragono, there are several places where it's hard-coded and must be changed:
1. `.travis.yml`, which controls the version that our CI test suite uses to build and test the code (e.g., for a PR)
2. `distrib/docker/Dockerfile`, which controls the version that the Oragono binaries in our Docker images are built with
2. `Dockerfile`, which controls the version that the Oragono binaries in our Docker images are built with
3. `go.mod`: this should be updated automatically by Go when you do module-related operations

View File

@ -1,5 +1,5 @@
## build Oragono
FROM golang:1.14-alpine AS build-env
FROM golang:1.15-alpine AS build-env
RUN apk add --no-cache git make curl sed

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/oragono/oragono
go 1.14
go 1.15
require (
code.cloudfoundry.org/bytefmt v0.0.0-20200131002437-cf55d5288a48