update travis

pull/60/merge
Henrique Dias 2017-01-14 11:08:27 +00:00
parent 282a93d705
commit ecb65b80b2
1 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,9 @@ language: go
go:
- tip
sudo: false
matrix:
allow_failures:
- install: go get -u -v $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo)
install:
- go generate
- go get -u -v $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo)
@ -10,4 +13,4 @@ install:
- go install github.com/caddyserver/caddydev
script:
- sed -i 's/\_ \"github.com\/mholt\/caddy\/caddyhttp\"/\_ \"github.com\/mholt\/caddy\/caddyhttp\"\n\_ \"github.com\/hacdias\/caddy-hugo\"/g' $GOPATH/src/github.com/mholt/caddy/caddy/caddymain/run.go
- go build github.com/mholt/caddy/caddy
- go build github.com/mholt/caddy/caddy