filebrowser/.travis.yml

23 lines
487 B
YAML
Raw Normal View History

2015-09-27 08:34:10 +00:00
language: go
2017-01-14 11:11:24 +00:00
2016-02-25 20:07:07 +00:00
go:
2017-01-14 11:15:12 +00:00
- tip
2017-04-23 14:26:46 +00:00
- 1.8
2017-01-14 11:11:24 +00:00
2015-09-27 08:43:36 +00:00
install:
2017-01-14 11:15:12 +00:00
- go get $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo) || true
- go get github.com/mholt/caddy/caddyhttp
2017-01-14 11:11:24 +00:00
2017-04-23 14:26:46 +00:00
before_script:
- mkdir $GOPATH/src/caddy
- touch $GOPATH/src/caddy/main.go
2017-04-23 14:31:39 +00:00
- echo 'package main
import "github.com/mholt/caddy/caddy/caddymain"
import "github.com/hacdias/caddy-hugo"
2017-04-23 14:26:46 +00:00
func main() {
caddymain.Run()
2017-04-23 14:31:39 +00:00
}' >> $GOPATH/src/caddy/main.go
2016-08-10 09:20:32 +00:00
script:
2017-04-23 14:26:46 +00:00
- go build caddy