This repository has been archived by the owner on Feb 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #191 from tianon/travis
Add Travis configuration file
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters