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-03-01 19:15:02 +00:00
|
|
|
- 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
|
2016-06-09 14:29:06 +00:00
|
|
|
- go get github.com/hashicorp/go-syslog
|
|
|
|
- go get github.com/jimstudt/http-authentication/basic
|
2016-03-01 19:15:02 +00:00
|
|
|
- go get github.com/spf13/hugo
|
|
|
|
- go get github.com/robfig/cron
|
2016-03-03 21:15:54 +00:00
|
|
|
- go get github.com/mitchellh/go-homedir
|
2016-03-01 19:15:02 +00:00
|
|
|
- go get github.com/caddyserver/caddydev
|
2016-03-04 20:21:50 +00:00
|
|
|
- go get github.com/pivotal-golang/archiver/extractor
|
2016-03-01 19:15:02 +00:00
|
|
|
- go install github.com/caddyserver/caddydev
|
|
|
|
- go install github.com/mitchellh/gox
|
|
|
|
- go generate
|
2016-07-20 18:27:08 +00:00
|
|
|
- cd $GOPATH/github.com/hacdias/caddy-filemanager
|
|
|
|
- go generate
|
|
|
|
- cd $GOPATH/github.com/hacdias/caddy-hugo
|
2015-09-27 08:46:39 +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 ./...
|