Skip to content
This repository was archived by the owner on Feb 27, 2018. It is now read-only.

Commit 74d53ab

Browse files
committed
Merge pull request #340 from tianon/travis-gimme
Convert .travis.yml to use "gimme" and update to Go 1.4
2 parents 286b582 + bbabbab commit 74d53ab

2 files changed

Lines changed: 8 additions & 10 deletions

File tree

.travis.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
language: go
22

3-
# this should be exactly the same as what's in the Dockerfile
4-
go: 1.3
3+
go:
4+
- 1.4.1
5+
- 1.3.3
56

67
# let us have pretty experimental Docker-based Travis workers
78
sudo: false
89

910
env:
10-
- _GOOS=linux _GOARCH=amd64
11-
- _GOOS=darwin _GOARCH=amd64
12-
- _GOOS=windows _GOARCH=amd64
11+
- GIMME_OS=linux GIMME_ARCH=amd64
12+
- GIMME_OS=darwin GIMME_ARCH=amd64
13+
- GIMME_OS=windows GIMME_ARCH=amd64
1314

1415
install:
1516
- env | sort
16-
- gvm cross "$_GOOS" "$_GOARCH"
17-
- export GOOS="$_GOOS" GOARCH="$_GOARCH"
18-
- go env
1917
- go get -d -v ./...
2018

2119
script:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Dockerfile to cross compile boot2docker-cli
22

3-
FROM golang:1.3-cross
3+
FROM golang:1.4-cross
44

55
WORKDIR /go/src/github.com/boot2docker/boot2docker-cli
66

77
# Download (but not install) dependencies
88
RUN go get -v github.com/BurntSushi/toml
9-
RUN go get -v github.com/ogier/pflag
9+
RUN go get -v github.com/ogier/pflag
1010

1111
ADD . /go/src/github.com/boot2docker/boot2docker-cli
1212

0 commit comments

Comments
 (0)