filebrowser/.travis.yml
Henrique Dias 37347a8bd1 update
2016-08-10 14:10:55 +01:00

18 lines
512 B
YAML

language: go
go:
- tip
sudo: false
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 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 ./...