From d962ac060af290890989dfc7dd7c104cb98fb12c Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Tue, 25 Jul 2017 12:02:51 +0100 Subject: [PATCH] update travis to include tests Former-commit-id: 24a3c284d71a73bd5ffdb775cf6f9aa13ea01e9c [formerly 3decd50b7655d58d45ee343f8fe34f14be60273b] [formerly 7c6eea9ddf58b87215f522c3848fb22df392f34a [formerly 2ca408d14f79270853d111de74c8dcc0166a7b9f]] Former-commit-id: e672192a9324632a41c1a41d287ba7bdfe5f8fbc [formerly 8458addebe97dc6ce315e333854e173dc32984f5] Former-commit-id: 215d3e61074564730ee9acd7df3c69d040091959 --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index da6e6153..d4196eec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,10 +14,8 @@ install: - go get github.com/tcnksm/ghr script: - - sed -i 's/\_ \"github.com\/mholt\/caddy\/caddyhttp\"/\_ \"github.com\/mholt\/caddy\/caddyhttp\"\n\_ \"github.com\/hacdias\/filemanager\/caddy\/filemanager\"/g' $GOPATH/src/github.com/mholt/caddy/caddy/caddymain/run.go - - go build -o binary github.com/mholt/caddy/caddy - - go build github.com/hacdias/filemanager - ineffassign . + - go test ./... -timeout 30s -tags - cd cmd/filemanager - mkdir dist - gox -output "dist/{{.OS}}-{{.Arch}}-{{.Dir}}"