Created
February 22, 2017 03:51
-
-
Save natefinch/1a609cb96f4aa674f411faef638945e7 to your computer and use it in GitHub Desktop.
Minimal Glide + Private repo .travis.yaml
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
language: go | |
go: | |
- 1.8 | |
before_install: | |
- git config --global url."[email protected]:".insteadOf "https://github.com/" | |
- wget "https://github.com/Masterminds/glide/releases/download/v0.12.3/glide-v0.12.3-linux-amd64.tar.gz" | |
- mkdir -p $HOME/bin | |
- tar -vxz -C $HOME/bin --strip=1 -f glide-v0.12.3-linux-amd64.tar.gz | |
- export PATH="$HOME/bin:$PATH" | |
install: glide install | |
script: go test $(glide novendor) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment