filebrowser/.travis.yml

15 lines
511 B
YAML
Raw Normal View History

2016-06-23 07:11:41 +00:00
language: go
2017-01-03 17:06:04 +00:00
2016-06-23 07:11:41 +00:00
go:
- tip
2017-01-03 17:06:04 +00:00
2016-06-23 07:11:41 +00:00
install:
2017-01-03 17:06:04 +00:00
- go get -u -v $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-filemanager)
- go get -u -v github.com/mholt/caddy/caddyhttp
- go get github.com/gordonklaus/ineffassign
2016-06-23 07:11:41 +00:00
script:
2017-01-03 17:06:04 +00:00
- sed -i 's/\_ \"github.com\/mholt\/caddy\/caddyhttp\"/\_ \"github.com\/mholt\/caddy\/caddyhttp\"\n\_ \"github.com\/hacdias\/caddy-filemanager\"/g' $GOPATH/src/github.com/mholt/caddy/caddy/caddymain/run.go
- go build github.com/mholt/caddy/caddy
- ineffassign .