mirror of https://github.com/docker/docs.git
Change to make Travis-CI run correctly on forks of docker/swarm
Signed-off-by: Mike Goelzer <mike@goelzer.com>
This commit is contained in:
parent
1aa61f9f36
commit
8d997d9d51
|
|
@ -9,6 +9,8 @@ go:
|
|||
sudo: false
|
||||
|
||||
install:
|
||||
# Symlink below is needed for Travis CI to work correctly on personal forks of swarm
|
||||
- ln -s $HOME/gopath/src/github.com/${TRAVIS_REPO_SLUG///swarm/} $HOME/gopath/src/github.com/docker
|
||||
- export GOPATH=${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH
|
||||
- export PATH=${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH
|
||||
- go get code.google.com/p/go.tools/cmd/vet
|
||||
|
|
|
|||
Loading…
Reference in New Issue