Merge pull request #1188 from vieux/switch_to_1.5

switch to golang 1.5
This commit is contained in:
Alexandre Beslic 2015-09-02 11:46:58 -07:00
commit cfa802c07f
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
language: go
go:
- 1.4
- 1.5
# let us have speedy Docker-based Travis workers
sudo: false

View File

@ -1,4 +1,4 @@
FROM golang:1.4
FROM golang:1.5
COPY . /go/src/github.com/docker/swarm
WORKDIR /go/src/github.com/docker/swarm

View File

@ -11,7 +11,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
# Install golang
ENV GO_VERSION 1.4.2
ENV GO_VERSION 1.5
RUN curl -sSL https://golang.org/dl/go${GO_VERSION}.src.tar.gz | tar -v -C /usr/local -xz \
&& mkdir -p /go/bin
ENV PATH /go/bin:/usr/local/go/bin:$PATH