filebrowser/.travis.yml
Henrique Dias 443023701a fix travis
Former-commit-id: 0b396411ef6c6005565d3ce658a84bc6efce9c9b [formerly 467de9f3a8a8bc3aad3f149dbd91faacc8f29380] [formerly 160769c398b07dbc6741d2ed60e18e873280a2f6 [formerly 179d9f016e]]
Former-commit-id: ea9891135d6c8ba88c0ccce41cf313ead8f6b17a [formerly 3ce354b9c2b835185f4d2fe3d83bdd33b70833b1]
Former-commit-id: 9efb822fcced8a2dcded1b8d799d0a038f4e7cdc
2017-06-26 15:59:21 +01:00

15 lines
562 B
YAML

language: go
go:
- tip
install:
- go get -u -v $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v filemanager)
- go get -u -v github.com/mholt/caddy/caddyhttp
- go get github.com/gordonklaus/ineffassign
script:
- sed -i 's/\_ \"github.com\/mholt\/caddy\/caddyhttp\"/\_ \"github.com\/mholt\/caddy\/caddyhttp\"\n\_ \"github.com\/hacdias\/filemanager\/caddy\"/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 .