install hugo on travis

pull/1/head
Evan Hemsley 2019-05-28 22:28:31 -07:00
parent ee95769628
commit 1c6336d9c2
1 changed files with 26 additions and 18 deletions

View File

@ -2,6 +2,14 @@
os: os:
- linux - linux
language: go
go:
- master
install:
- go get github.com/spf13/hugo
# Install the apt prerequisites # Install the apt prerequisites
addons: addons:
apt: apt:
@ -10,7 +18,7 @@ addons:
# Compile the site # Compile the site
script: script:
- binaries/hugo - hugo
# Deploy the site - this hook comes from Travis integration # Deploy the site - this hook comes from Travis integration
deploy: deploy: