trying to fix travis

This commit is contained in:
Henrique Dias 2017-01-14 11:15:12 +00:00
parent 3a66cad904
commit 5834e36817

View File

@ -1,15 +1,15 @@
language: go language: go
go: go:
- tip - tip
install: install:
- go generate - go generate
- go get -u -v $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo) || true - go get $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo) || true
- go get -u -v github.com/mholt/caddy/caddyhttp - go get github.com/mholt/caddy/caddyhttp
- go get -u -v github.com/caddyserver/caddydev - go get github.com/caddyserver/caddydev
- go install github.com/caddyserver/caddydev - cd %GOPATH%/src/github.com/hacdias/caddy-filemanager && go generate
script: 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 - 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