mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
update travis to include tests
Former-commit-id: 24a3c284d71a73bd5ffdb775cf6f9aa13ea01e9c [formerly 3decd50b7655d58d45ee343f8fe34f14be60273b] [formerly 7c6eea9ddf58b87215f522c3848fb22df392f34a [formerly 2ca408d14f
]]
Former-commit-id: e672192a9324632a41c1a41d287ba7bdfe5f8fbc [formerly 8458addebe97dc6ce315e333854e173dc32984f5]
Former-commit-id: 215d3e61074564730ee9acd7df3c69d040091959
This commit is contained in:
parent
b5965d9a82
commit
d962ac060a
@ -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
Block a user