Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Commit

Permalink
Upgrade golang version to v1.14 (#2144)
Browse files Browse the repository at this point in the history
  • Loading branch information
Svetomir Smiljkovic authored Mar 24, 2020
1 parent 874370e commit f878aed
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- stage: lint
os: linux
dist: trusty
go: 1.13.x
go: 1.14.x
env:
- lint
script:
Expand All @@ -25,7 +25,7 @@ jobs:
os: linux
dist: trusty
sudo: required
go: 1.13.x
go: 1.14.x
script:
- sudo modprobe fuse
- sudo chmod 666 /dev/fuse
Expand All @@ -35,7 +35,7 @@ jobs:

- stage: build
os: osx
go: 1.13.x
go: 1.14.x
script:
- echo "Increase the maximum number of open file descriptors on macOS"
- NOFILE=20480
Expand All @@ -55,7 +55,7 @@ jobs:
os: linux
dist: trusty
sudo: required
go: 1.13.x
go: 1.14.x
env:
- azure-linux
addons:
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
dist: trusty
services:
- docker
go: 1.13.x
go: 1.14.x
env:
- azure-linux-mips
script:
Expand All @@ -113,7 +113,7 @@ jobs:
- stage: deploy
if: type = push
os: osx
go: 1.13.x
go: 1.14.x
env:
- azure-osx
script:
Expand All @@ -126,7 +126,7 @@ jobs:
if: type = cron
os: linux
dist: trusty
go: 1.13.x
go: 1.14.x
env:
- azure-purge
script:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.13-alpine as builder
FROM golang:1.14-alpine as builder
RUN apk add --no-cache make gcc musl-dev linux-headers git
ADD . /swarm
WORKDIR /swarm
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.alltools
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.13-alpine as builder
FROM golang:1.14-alpine as builder
RUN apk add --no-cache make gcc musl-dev linux-headers git
ADD . /swarm
WORKDIR /swarm
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Swarm is a distributed storage platform and content distribution service, a nati

## Building the source

It's recommended to use Go 1.13 to build Swarm.
It's recommended to use Go 1.14 to build Swarm.

To simply compile the `swarm` binary without a `GOPATH`:

Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ environment:
install:
- git submodule update --init
- rmdir C:\go /s /q
- appveyor DownloadFile https://dl.google.com/go/go1.13.windows-%APP_ARCH%.zip
- 7z x go1.13.windows-%APP_ARCH%.zip -y -oC:\ > NUL
- appveyor DownloadFile https://dl.google.com/go/go1.14.windows-%APP_ARCH%.zip
- 7z x go1.14.windows-%APP_ARCH%.zip -y -oC:\ > NUL
- go version
- gcc --version

Expand Down

0 comments on commit f878aed

Please sign in to comment.