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
|
|
|
|
- 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
|
|
|
|
- go get github.com/caddyserver/caddyext
|
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/caddyserver/caddyext
|
|
|
|
- go install github.com/mitchellh/gox
|
|
|
|
- go generate
|
2015-09-27 08:46:39 +00:00
|
|
|
script:
|
2016-03-01 19:15:02 +00:00
|
|
|
- caddydev --output="caddy" --source="." hugo
|
|
|
|
- go test ./...
|
2016-03-02 19:12:07 +00:00
|
|
|
- bash dist/automate.sh
|
2016-03-01 19:15:02 +00:00
|
|
|
deploy:
|
|
|
|
provider: bintray
|
2016-03-02 19:12:07 +00:00
|
|
|
file: dist/bintray.json
|
2016-03-01 19:15:02 +00:00
|
|
|
user: hacdias
|
|
|
|
key:
|
|
|
|
secure: gzIpZj4UTnvcpyY3d6+9IThG/5S0vcdvu+/E0fgeryWzKvJVOUFYCNsP1TeFgi3fd64vb+p17UoHA1I6QLc8BPAYpUEGY11JZlSHE13ScAcYSd97IhixL5DMnNWQLGCHoE4v1cUwSKyZYOu9vsjCgZf2JwhJHDMzNMH+5JQxMJcA4A+GsaaqARlxy2NKxA7DwohTPJuxzxMcvoVLlcFM6rCFrqQcHZ+LosVEpSwWm30mlS9BPQPu2Zm0QZruO/xuoufxeC94Szs3nlTXLSrNi05Z7IUvCBJDOEiCzzvX1q7kkIqKE6o2gkb2fkJEdKpocLvtDv2Z2JunN2utzLZrVVOyZ33xhtYcO9df+5y3lREHeWETThoxu64eFifVTp35b/eQUb4BTuFb7WsbCLv8wB1f/oVRcqhjL+RCQVrBjzXb27OwWLK7a1y9yQAgqke07zbsRvk6BbgbIQ5zU4WeYCQmztBct3YkdC9fJQJHp8N+Oui+Jeqnypikinhxd5/RKpFGdOH9V9QDpzS29Dv8CzGtmIog0KpdMcqhZ6K6sZGGFb5z6IC7zQvFBaPZKzFFaKsaQxmnTXwhSyJfWBPjWG/GkUbhbu6QN3gzr3l6l43Gl3PcCk21UwyVZ7KnXvLLujtPPm8CtsCW43O29luJL7iq7ke4yvZnz9Uc7L/Qd3k=
|