Improve travis

This commit is contained in:
Márk Sági-Kazár 2019-07-13 11:42:53 +02:00
parent 5ae3a072d1
commit 72cbe340cb

View file

@ -4,10 +4,12 @@ language: go
env: env:
global: global:
- GO111MODULE="on" - GO111MODULE="on"
- GOFLAGS="-mod=readonly"
go: go:
- 1.11.x - 1.11.x
- 1.12.x
- tip - tip
os: os:
@ -27,5 +29,3 @@ script:
after_success: after_success:
- go get -u -d github.com/spf13/hugo - go get -u -d github.com/spf13/hugo
- cd $GOPATH/src/github.com/spf13/hugo && make && ./hugo -s docs && cd - - cd $GOPATH/src/github.com/spf13/hugo && make && ./hugo -s docs && cd -
sudo: false