mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #12802 from hexfusion/test-bump-release-3.2
test: bump golang to 1.12.17 for travis
This commit is contained in:
commit
333b9f2656
@ -6,12 +6,15 @@ sudo: required
|
|||||||
services: docker
|
services: docker
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.8.7
|
- 1.12.17
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
on_success: never
|
on_success: never
|
||||||
on_failure: never
|
on_failure: never
|
||||||
|
|
||||||
|
env:
|
||||||
|
- GO111MODULE=off
|
||||||
|
|
||||||
env:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
- TARGET=linux-amd64-integration
|
- TARGET=linux-amd64-integration
|
||||||
@ -23,7 +26,7 @@ env:
|
|||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- go: 1.8.7
|
- go: 1.12.17
|
||||||
env: TARGET=linux-386-unit
|
env: TARGET=linux-386-unit
|
||||||
exclude:
|
exclude:
|
||||||
- go: tip
|
- go: tip
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:16.10
|
FROM ubuntu:16.04
|
||||||
|
|
||||||
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
|
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
|
||||||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
|
||||||
@ -29,6 +29,7 @@ RUN apt-get -y update \
|
|||||||
&& apt-get -y autoremove \
|
&& apt-get -y autoremove \
|
||||||
&& apt-get -y autoclean
|
&& apt-get -y autoclean
|
||||||
|
|
||||||
|
ENV GO111MODULE=off
|
||||||
ENV GOROOT /usr/local/go
|
ENV GOROOT /usr/local/go
|
||||||
ENV GOPATH /go
|
ENV GOPATH /go
|
||||||
ENV PATH ${GOPATH}/bin:${GOROOT}/bin:${PATH}
|
ENV PATH ${GOPATH}/bin:${GOROOT}/bin:${PATH}
|
||||||
@ -46,11 +47,18 @@ ADD ./scripts/install-marker.sh /tmp/install-marker.sh
|
|||||||
|
|
||||||
RUN go get -v -u -tags spell github.com/chzchzchz/goword \
|
RUN go get -v -u -tags spell github.com/chzchzchz/goword \
|
||||||
&& go get -v -u github.com/coreos/license-bill-of-materials \
|
&& go get -v -u github.com/coreos/license-bill-of-materials \
|
||||||
&& go get -v -u honnef.co/go/tools/cmd/gosimple \
|
|
||||||
&& go get -v -u honnef.co/go/tools/cmd/unused \
|
|
||||||
&& go get -v -u honnef.co/go/tools/cmd/staticcheck \
|
|
||||||
&& go get -v -u github.com/wadey/gocovmerge \
|
&& go get -v -u github.com/wadey/gocovmerge \
|
||||||
&& go get -v -u github.com/gordonklaus/ineffassign \
|
&& go get -v -u github.com/gordonklaus/ineffassign \
|
||||||
|
&& mkdir -p $GOPATH/src/honnef.co/go/tools \
|
||||||
|
&& git clone https://github.com/dominikh/go-tools.git $GOPATH/src/honnef.co/go/tools \
|
||||||
|
&& cd $GOPATH/src/honnef.co/go/tools/cmd/staticcheck \
|
||||||
|
&& git checkout 2017.2.2 \
|
||||||
|
&& go get \
|
||||||
|
&& go install \
|
||||||
|
&& cd $GOPATH/src/honnef.co/go/tools/cmd/gosimple \
|
||||||
|
&& go install \
|
||||||
|
&& cd $GOPATH/src/honnef.co/go/tools/cmd/unused \
|
||||||
|
&& go install \
|
||||||
&& /tmp/install-marker.sh amd64 \
|
&& /tmp/install-marker.sh amd64 \
|
||||||
&& rm -f /tmp/install-marker.sh \
|
&& rm -f /tmp/install-marker.sh \
|
||||||
&& curl -s https://codecov.io/bash >/codecov \
|
&& curl -s https://codecov.io/bash >/codecov \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user