From d5bbfd921434af7fd56a1c0d05e509b1e6842924 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 8 Nov 2018 09:29:39 +0200 Subject: [PATCH] .travis.yml: Update for Go 1.11 Golang now supports modules and I think Hugo's build system changed to support this. Trying to port changes from the Hugo configuration here: https://github.com/gohugoio/hugo/blob/master/.travis.yml --- .travis.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4af089a5..e607b42d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,11 @@ language: go go: - - "1.10" -install: go get -v github.com/gohugoio/hugo + - "1.11" +install: + - mkdir -p $HOME/src + - git clone https://github.com/gohugoio/hugo.git $HOME/src/hugo + - cd $HOME/src/hugo + - go install before_script: git clone https://github.com/alanorth/hugo-theme-bootstrap4-blog.git themes/hugo-theme-bootstrap4-blog script: hugo sudo: false