mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
trying to fix travis
This commit is contained in:
parent
3a66cad904
commit
5834e36817
16
.travis.yml
16
.travis.yml
@ -1,15 +1,15 @@
|
||||
language: go
|
||||
|
||||
go:
|
||||
- tip
|
||||
- tip
|
||||
|
||||
install:
|
||||
- go generate
|
||||
- go get -u -v $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo) || true
|
||||
- go get -u -v github.com/mholt/caddy/caddyhttp
|
||||
- go get -u -v github.com/caddyserver/caddydev
|
||||
- go install github.com/caddyserver/caddydev
|
||||
- go generate
|
||||
- go get $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo) || true
|
||||
- go get github.com/mholt/caddy/caddyhttp
|
||||
- go get github.com/caddyserver/caddydev
|
||||
- cd %GOPATH%/src/github.com/hacdias/caddy-filemanager && go generate
|
||||
|
||||
script:
|
||||
- sed -i 's/\_ \"github.com\/mholt\/caddy\/caddyhttp\"/\_ \"github.com\/mholt\/caddy\/caddyhttp\"\n\_ \"github.com\/hacdias\/caddy-hugo\"/g' $GOPATH/src/github.com/mholt/caddy/caddy/caddymain/run.go
|
||||
- go build github.com/mholt/caddy/caddy
|
||||
- sed -i 's/\_ \"github.com\/mholt\/caddy\/caddyhttp\"/\_ \"github.com\/mholt\/caddy\/caddyhttp\"\n\_ \"github.com\/hacdias\/caddy-hugo\"/g' $GOPATH/src/github.com/mholt/caddy/caddy/caddymain/run.go
|
||||
- go build github.com/mholt/caddy/caddy
|
||||
|
Loading…
Reference in New Issue
Block a user