mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
21 lines
546 B
YAML
21 lines
546 B
YAML
language: go
|
|
go:
|
|
- tip
|
|
sudo: false
|
|
matrix:
|
|
allow_failures:
|
|
- install: go
|
|
install:
|
|
- go get github.com/hacdias/caddy-filemanager
|
|
- cd $GOPATH/src/github.com/hacdias/caddy-filemanager
|
|
- go generate
|
|
- cd ${TRAVIS_BUILD_DIR}
|
|
- go generate
|
|
- 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/caddyserver/caddydev
|
|
- go install github.com/caddyserver/caddydev
|
|
script:
|
|
- caddydev --output="caddy" --source="." hugo
|
|
- go test ./...
|