mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
26 lines
788 B
YAML
26 lines
788 B
YAML
language: go
|
|
go:
|
|
- tip
|
|
sudo: false
|
|
install:
|
|
- export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH"
|
|
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
|
|
- go get github.com/mitchellh/gox
|
|
- go get github.com/mholt/caddy
|
|
- go get github.com/hashicorp/go-syslog
|
|
- go get github.com/jimstudt/http-authentication/basic
|
|
- go get github.com/spf13/hugo
|
|
- go get github.com/robfig/cron
|
|
- go get github.com/mitchellh/go-homedir
|
|
- go get github.com/caddyserver/caddydev
|
|
- go get github.com/pivotal-golang/archiver/extractor
|
|
- go install github.com/caddyserver/caddydev
|
|
- go install github.com/mitchellh/gox
|
|
- go generate
|
|
- cd $GOPATH/github.com/hacdias/caddy-filemanager
|
|
- go generate
|
|
- cd ${TRAVIS_BUILD_DIR}
|
|
script:
|
|
- caddydev --output="caddy" --source="." hugo
|
|
- go test ./...
|