mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
update travis config
This commit is contained in:
parent
5cb0900c38
commit
744d8c917e
@ -3,15 +3,11 @@ go:
|
|||||||
- tip
|
- tip
|
||||||
sudo: false
|
sudo: false
|
||||||
install:
|
install:
|
||||||
- (go get github.com/hacdias/caddy-filemanager) || true
|
|
||||||
- cd $GOPATH/src/github.com/hacdias/caddy-filemanager
|
|
||||||
- go generate
|
|
||||||
- cd ${TRAVIS_BUILD_DIR}
|
|
||||||
- go generate
|
- go generate
|
||||||
- go get -u -v $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo)
|
- go get -u -v $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo)
|
||||||
- go get -u -v github.com/mholt/caddy/caddyhttp
|
- go get -u -v github.com/mholt/caddy/caddyhttp
|
||||||
- go get -u -v github.com/caddyserver/caddydev
|
- go get -u -v github.com/caddyserver/caddydev
|
||||||
- go install github.com/caddyserver/caddydev
|
- go install github.com/caddyserver/caddydev
|
||||||
script:
|
script:
|
||||||
- caddydev --output="caddy" --source="." hugo
|
- 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 test ./...
|
- go build github.com/mholt/caddy/caddy
|
Loading…
Reference in New Issue
Block a user