1
0

.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
This commit is contained in:
Alan Orth 2018-11-08 09:29:39 +02:00
parent f82048e90b
commit d5bbfd9214
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -1,7 +1,11 @@
language: go language: go
go: go:
- "1.10" - "1.11"
install: go get -v github.com/gohugoio/hugo 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 before_script: git clone https://github.com/alanorth/hugo-theme-bootstrap4-blog.git themes/hugo-theme-bootstrap4-blog
script: hugo script: hugo
sudo: false sudo: false