travis...

This commit is contained in:
Henrique Dias 2017-01-14 11:17:35 +00:00
parent 5834e36817
commit da68c10cad

View File

@ -8,7 +8,7 @@ install:
- go get $(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 github.com/mholt/caddy/caddyhttp - go get github.com/mholt/caddy/caddyhttp
- go get github.com/caddyserver/caddydev - go get github.com/caddyserver/caddydev
- cd %GOPATH%/src/github.com/hacdias/caddy-filemanager && go generate - 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