18 lines
559 B
YAML
18 lines
559 B
YAML
language: go
|
|
sudo: false
|
|
install:
|
|
- export GOPATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace:$GOPATH"
|
|
- export PATH="${TRAVIS_BUILD_DIR}/Godeps/_workspace/bin:$PATH"
|
|
- go get github.com/mholt/caddy
|
|
- go get github.com/spf13/hugo
|
|
- go get github.com/robfig/cron
|
|
- go install github.com/mholt/caddy
|
|
- go install github.com/robfig/cron
|
|
- go install github.com/spf13/hugo
|
|
- go get github.com/caddyserver/caddydev
|
|
- go install github.com/caddyserver/caddydev
|
|
- go generate
|
|
script:
|
|
- caddydev --output="caddy" --source="." cms
|
|
- go test ./...
|