ref: 2cf8fe2ea218d37776af72893691e772737750e3
parent: 3b103cb7b74228f26af5beb4cefc47edee794ce9
author: Bjørn Erik Pedersen <[email protected]>
date: Thu Sep 6 05:34:09 EDT 2018
Fix broken Travis config See https://github.com/magefile/mage/issues/79
--- a/.travis.yml
+++ b/.travis.yml
@@ -16,13 +16,17 @@
- 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
--- a/go.sum
+++ b/go.sum
@@ -56,7 +56,7 @@
github.com/jdkato/prose v1.1.0/go.mod h1:jkF0lkxaX5PFSlk9l4Gh9Y+T57TqUZziWT7uZbW5ADg=
github.com/kyokomi/emoji v1.5.1 h1:qp9dub1mW7C4MlvoRENH6EAENb9skEFOvIEbp1Waj38=
github.com/kyokomi/emoji v1.5.1/go.mod h1:mZ6aGCD7yk8j6QY6KICwnZ2pxoszVseX1DNoGtU2tBA=
-github.com/magefile/mage v1.2.4 h1:2QnmtjngYyEG7hFmpnWXcqNg6dYRerYkrltrIcYu1o0=
+github.com/magefile/mage v1.2.4 h1:Olsqw6CIOK4dYqrCAZ2tEiwdg4jx0g1wltVvuOuFhPE=
github.com/magefile/mage v1.2.4/go.mod h1:IUDi13rsHje59lecXokTfGX0QIzO45uVPlXnJYsXepA=
github.com/magiconair/properties v1.8.0 h1:LLgXmsheXeRoUOBOjtwPQCWIYqM/LU1ayDtDePerRcY=
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=