Skip to content

Commit

Permalink
rollback to Go 1.5.4
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Vieux <[email protected]>
  • Loading branch information
vieux committed Apr 23, 2016
1 parent 2044af6 commit c882e5e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go

go:
- 1.6.2
- 1.5.4

# let us have speedy Docker-based Travis workers
sudo: false
Expand All @@ -18,6 +18,7 @@ script:
- fgt golint ./... | grep -v vendor/ | tee /dev/stderr
# Lint shell files and make sure they are not space indented.
- fgt find test/ -type f \( -name "*.sh" -or -name "*.bash" -or -name "*.bats" \) -exec grep -Hn -e "^ " {} \;
- export GO15VENDOREXPERIMENT=1
- GOOS=darwin go build
- GOOS=windows go build
- GOOS=linux go build
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ sudo apt-get install git

You also need Go 1.5 or higher. Download Go from [https://golang.org/dl/](https://golang.org/dl/). To install on Linux:
```sh
tar xzvf go1.6.2.linux-amd64.tar.gz
tar xzvf go1.5.4.linux-amd64.tar.gz
sudo mv go /usr/local
```

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM golang:1.6.2-alpine
FROM golang:1.5.4-alpine

ARG GOOS

COPY . /go/src/github.com/docker/swarm
WORKDIR /go/src/github.com/docker/swarm

ENV GOPATH /go/src/github.com/docker/swarm/Godeps/_workspace:$GOPATH
ENV GO15VENDOREXPERIMENT=1

RUN set -ex \
&& apk add --no-cache --virtual .build-deps \
Expand Down
2 changes: 1 addition & 1 deletion test/integration/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends git file parall
&& apt-get clean && rm -rf /var/lib/apt/lists/*

# Install golang
ENV GO_VERSION 1.6.2
ENV GO_VERSION 1.5.4
RUN curl -sSL https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz | tar -v -C /usr/local -xz
ENV PATH /go/bin:/usr/local/go/bin:$PATH
ENV GOPATH /go
Expand Down

0 comments on commit c882e5e

Please sign in to comment.