update travis to include tests
@@ -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}}"
