2015-09-27 08:34:10 +00:00
|
|
|
language: go
|
2016-02-25 20:07:07 +00:00
|
|
|
go:
|
2016-03-01 19:15:02 +00:00
|
|
|
- tip
|
2015-09-27 08:34:10 +00:00
|
|
|
sudo: false
|
2015-09-27 08:43:36 +00:00
|
|
|
install:
|
2016-08-10 09:20:32 +00:00
|
|
|
- go get github.com/hacdias/caddy-filemanager
|
|
|
|
- cd $GOPATH/src/github.com/hacdias/caddy-filemanager
|
|
|
|
- go generate
|
2016-07-20 18:31:53 +00:00
|
|
|
- cd ${TRAVIS_BUILD_DIR}
|
2016-08-10 08:57:27 +00:00
|
|
|
- go generate
|
2016-08-10 09:43:59 +00:00
|
|
|
- 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
|
2016-08-10 09:20:32 +00:00
|
|
|
script:
|
2016-06-09 14:24:05 +00:00
|
|
|
- caddydev --output="caddy" --source="." hugo
|
2016-03-01 19:15:02 +00:00
|
|
|
- go test ./...
|