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 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-12-08 16:06:17 +00:00
|
|
|
- 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
|