From c08ff6c4fb665bcfe80ee1af7ca453ff888a1f91 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sun, 27 Sep 2015 09:38:20 +0100 Subject: [PATCH] update travis --- .travis.yml | 9 +++++++-- hugo.go | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b2d8fc0d..7bc759dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,13 @@ language: go sudo: false before_script: - - go vet ./... + - go get github.com/mholt/caddy + - go get github.com/spf13/hugo + - go get github.com/robfig/cron install: - # Add Godeps dependencies to GOPATH and PATH - export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH" - export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH" + - go install github.com/mholt/caddy + - go install github.com/robfig/cron + - go install github.com/spf13/hugo + - go generate diff --git a/hugo.go b/hugo.go index 28a86e25..68b5be5a 100644 --- a/hugo.go +++ b/hugo.go @@ -1,4 +1,5 @@ //go:generate go get github.com/jteeuwen/go-bindata +//go:generate go install github.com/jteeuwen/go-bindata //go:generate go-bindata -pkg assets -o assets/assets.go templates/ assets/css/ assets/js/ assets/fonts/ package hugo