Skip to content

Instantly share code, notes, and snippets.

@mrb
Created July 26, 2012 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save mrb/3182075 to your computer and use it in GitHub Desktop.
Save mrb/3182075 to your computer and use it in GitHub Desktop.
Building Go on Travis with test deps

Go on Travis

Travis-CI is trying to figure out the best way for Go projects with test dependencies to run on their platform. The included .yml file here shows that simply running a series of "go get" commands for the external dependencies required by test files in the script line works.

language: go
script: go get github.com/bmizerany/assert && go get github.com/mrb/hob && go test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment