From 2cf8fe2ea218d37776af72893691e772737750e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Thu, 6 Sep 2018 09:34:09 +0200 Subject: Fix broken Travis config See https://github.com/magefile/mage/issues/79 --- .travis.yml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 7c2948f49..c0aaa27ae 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,13 +16,17 @@ matrix: - go: tip fast_finish: true install: - - env GO111MODULE=on go get github.com/magefile/mage - script: - - mage -v test - - mage -v check - - mage -v hugo - - ./hugo -s docs/ - - ./hugo --renderToMemory -s docs/ + - mkdir -p $HOME/src + - mv $HOME/gopath/src/github.com/gohugoio/hugo $HOME/src + - export TRAVIS_BUILD_DIR=$HOME/src/hugo + - cd $HOME/src/hugo + - go get github.com/magefile/mage +script: +- mage -v test +- mage -v check +- mage -v hugo +- ./hugo -s docs/ +- ./hugo --renderToMemory -s docs/ before_install: - gem install asciidoctor - type asciidoctor -- cgit v1.2.3