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

Commit

Permalink
Merge pull request #191 from tianon/travis
Browse files Browse the repository at this point in the history
Add Travis configuration file
  • Loading branch information
tianon committed Aug 11, 2014
2 parents bd591d5 + c4149ae commit bdb0f79
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
language: go

# this should be exactly the same as what's in the Dockerfile
go: 1.3

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

env:
- _GOOS=linux _GOARCH=amd64
- _GOOS=darwin _GOARCH=amd64
- _GOOS=windows _GOARCH=amd64

install:
- env | sort
- gvm cross "$_GOOS" "$_GOARCH"
- export GOOS="$_GOOS" GOARCH="$_GOARCH"
- go env
- go get -d -v ./...

script:
# TODO - some gofmt magic
- go build -v ./...
# TODO - go test -v ./... # (we first need to skip all the meaty vbox tests when "VBoxManage" isn't available, or mock it)
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,8 @@ the same as the command-line flags with long names.

## Contribution

[![Build Status](https://travis-ci.org/boot2docker/boot2docker-cli.svg?branch=master)](https://travis-ci.org/boot2docker/boot2docker-cli)

We are implementing the same process as [Docker merge
approval](https://github.com/dotcloud/docker/blob/master/CONTRIBUTING.md#merge-approval),
so all commits need to be done via pull requests, and will need three or more
Expand Down

0 comments on commit bdb0f79

Please sign in to comment.