diff --git a/.travis.yml b/.travis.yml index 1b61667c8..245f52b36 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ jobs: - stage: lint os: linux dist: xenial - go: 1.14.x + go: 1.15.x env: - lint git: @@ -34,12 +34,22 @@ jobs: - go run build/ci.go install - go run build/ci.go test -coverage $TEST_PACKAGES + - stage: build + os: linux + dist: xenial + go: 1.14.x + env: + - GO111MODULE=on + script: + - go run build/ci.go install + - go run build/ci.go test -coverage $TEST_PACKAGES + # These are the latest Go versions. - stage: build os: linux arch: amd64 dist: xenial - go: 1.14.x + go: 1.15.x env: - GO111MODULE=on script: @@ -51,7 +61,7 @@ jobs: os: linux arch: arm64 dist: xenial - go: 1.14.x + go: 1.15.x env: - GO111MODULE=on script: @@ -61,7 +71,7 @@ jobs: - stage: build os: osx osx_image: xcode11.3 - go: 1.14.x + go: 1.15.x env: - GO111MODULE=on script: @@ -82,7 +92,7 @@ jobs: if: type = push os: linux dist: xenial - go: 1.14.x + go: 1.15.x env: - ubuntu-ppa - GO111MODULE=on @@ -99,7 +109,7 @@ jobs: - python-paramiko script: - echo '|1|7SiYPr9xl3uctzovOTj4gMwAC1M=|t6ReES75Bo/PxlOPJ6/GsGbTrM0= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0aKz5UTUndYgIGG7dQBV+HaeuEZJ2xPHo2DS2iSKvUL4xNMSAY4UguNW+pX56nAQmZKIZZ8MaEvSj6zMEDiq6HFfn5JcTlM80UwlnyKe8B8p7Nk06PPQLrnmQt5fh0HmEcZx+JU9TZsfCHPnX7MNz4ELfZE6cFsclClrKim3BHUIGq//t93DllB+h4O9LHjEUsQ1Sr63irDLSutkLJD6RXchjROXkNirlcNVHH/jwLWR5RcYilNX7S5bIkK8NlWPjsn/8Ua5O7I9/YoE97PpO6i73DTGLh5H9JN/SITwCKBkgSDWUt61uPK3Y11Gty7o2lWsBjhBUm2Y38CBsoGmBw==' >> ~/.ssh/known_hosts - - go run build/ci.go debsrc -goversion 1.14.2 -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder " + - go run build/ci.go debsrc -goversion 1.15 -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder " # This builder does the Linux Azure uploads - stage: build @@ -107,7 +117,7 @@ jobs: os: linux dist: xenial sudo: required - go: 1.14.x + go: 1.15.x env: - azure-linux - GO111MODULE=on @@ -144,7 +154,7 @@ jobs: dist: xenial services: - docker - go: 1.14.x + go: 1.15.x env: - azure-linux-mips - GO111MODULE=on @@ -192,7 +202,7 @@ jobs: git: submodules: false # avoid cloning ethereum/tests before_install: - - curl https://dl.google.com/go/go1.14.2.linux-amd64.tar.gz | tar -xz + - curl https://dl.google.com/go/go1.15.linux-amd64.tar.gz | tar -xz - export PATH=`pwd`/go/bin:$PATH - export GOROOT=`pwd`/go - export GOPATH=$HOME/go @@ -210,7 +220,7 @@ jobs: - stage: build if: type = push os: osx - go: 1.14.x + go: 1.15.x env: - azure-osx - azure-ios @@ -242,7 +252,7 @@ jobs: if: type = cron os: linux dist: xenial - go: 1.14.x + go: 1.15.x env: - azure-purge - GO111MODULE=on diff --git a/Dockerfile b/Dockerfile index b5f9253cb..6ba81180b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.14-alpine as builder +FROM golang:1.15-alpine as builder RUN apk add --no-cache make gcc musl-dev linux-headers git diff --git a/appveyor.yml b/appveyor.yml index fe15cc7f0..7d6bf8763 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -24,8 +24,8 @@ environment: install: - git submodule update --init - rmdir C:\go /s /q - - appveyor DownloadFile https://dl.google.com/go/go1.14.2.windows-%GETH_ARCH%.zip - - 7z x go1.14.2.windows-%GETH_ARCH%.zip -y -oC:\ > NUL + - appveyor DownloadFile https://dl.google.com/go/go1.15.windows-%GETH_ARCH%.zip + - 7z x go1.15.windows-%GETH_ARCH%.zip -y -oC:\ > NUL - go version - gcc --version