mirror of https://github.com/docker/docs.git
Merge pull request #635 from mgoelzer/fix-travis-on-forks
Change to make Travis CI run correctly on forks of docker/swarm
This commit is contained in:
commit
9920b547e0
|
@ -9,6 +9,8 @@ go:
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
install:
|
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 GOPATH=${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH
|
||||||
- export PATH=${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH
|
- export PATH=${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH
|
||||||
- go get code.google.com/p/go.tools/cmd/vet
|
- go get code.google.com/p/go.tools/cmd/vet
|
||||||
|
|
Loading…
Reference in New Issue