mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
23 lines
487 B
YAML
23 lines
487 B
YAML
language: go
|
|
|
|
go:
|
|
- tip
|
|
- 1.8
|
|
|
|
install:
|
|
- go get $(go list -f '{{join .Imports "\n"}}' ./... | sort | uniq | grep -v caddy-hugo) || true
|
|
- go get github.com/mholt/caddy/caddyhttp
|
|
|
|
before_script:
|
|
- mkdir $GOPATH/src/caddy
|
|
- touch $GOPATH/src/caddy/main.go
|
|
- echo 'package main
|
|
import "github.com/mholt/caddy/caddy/caddymain"
|
|
import "github.com/hacdias/caddy-hugo"
|
|
func main() {
|
|
caddymain.Run()
|
|
}' >> $GOPATH/src/caddy/main.go
|
|
|
|
script:
|
|
- go build caddy
|