update travis to include tests
parent
e6e1984c47
commit
2ca408d14f
|
@ -14,10 +14,8 @@ install:
|
||||||
- go get github.com/tcnksm/ghr
|
- go get github.com/tcnksm/ghr
|
||||||
|
|
||||||
script:
|
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 .
|
- ineffassign .
|
||||||
|
- go test ./... -timeout 30s -tags
|
||||||
- cd cmd/filemanager
|
- cd cmd/filemanager
|
||||||
- mkdir dist
|
- mkdir dist
|
||||||
- gox -output "dist/{{.OS}}-{{.Arch}}-{{.Dir}}"
|
- gox -output "dist/{{.OS}}-{{.Arch}}-{{.Dir}}"
|
||||||
|
|
Loading…
Reference in New Issue