Update Travis config to work for forked builds

This commit is contained in:
grahamjamesaddis 2019-03-05 13:26:49 +00:00 committed by Bjørn Erik Pedersen
parent 75904332f3
commit bdf47e8da8

View file

@ -23,7 +23,7 @@ matrix:
install:
- mkdir -p $HOME/src
- mv $HOME/gopath/src/github.com/gohugoio/hugo $HOME/src
- mv $TRAVIS_BUILD_DIR $HOME/src
- export TRAVIS_BUILD_DIR=$HOME/src/hugo
- cd $HOME/src/hugo
- go get github.com/magefile/mage