update travis

pull/20/head
Henrique Dias 2015-09-27 09:38:20 +01:00
parent 5f523e910a
commit c08ff6c4fb
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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