diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-09-06 10:34:09 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-09-06 14:42:41 +0300 |
commit | 2cf8fe2ea218d37776af72893691e772737750e3 (patch) | |
tree | ec353abb299b5665b55691351d4b251e1f1f27f4 /.travis.yml | |
parent | 3b103cb7b74228f26af5beb4cefc47edee794ce9 (diff) |
Fix broken Travis config
See https://github.com/magefile/mage/issues/79
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 18 |
1 files changed, 11 insertions, 7 deletions
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 |