From 744d8c917e81d90b0adc6f668f6fcc9c164f4431 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Thu, 8 Dec 2016 16:06:17 +0000 Subject: [PATCH] update travis config --- .travis.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index e44738a7..34416fe0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,15 +3,11 @@ go: - tip sudo: false install: -- (go get github.com/hacdias/caddy-filemanager) || true -- cd $GOPATH/src/github.com/hacdias/caddy-filemanager -- go generate -- cd ${TRAVIS_BUILD_DIR} - go generate - go get -u -v $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo) - go get -u -v github.com/mholt/caddy/caddyhttp - go get -u -v github.com/caddyserver/caddydev - go install github.com/caddyserver/caddydev script: -- caddydev --output="caddy" --source="." hugo -- go test ./... +- 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 \ No newline at end of file