update travis to include tests
This commit is contained in:
parent
e6e1984c47
commit
2ca408d14f
|
@ -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}}"
|
||||
|
|
Loading…
Reference in New Issue