1
0
mirror of https://github.com/danog/gojekyll.git synced 2025-01-23 02:01:12 +01:00
gojekyll/.travis.yml

50 lines
1.5 KiB
YAML
Raw Normal View History

2017-06-13 12:45:33 -04:00
language: go
go:
- 1.8.3
2017-06-22 15:45:07 -04:00
2017-07-04 17:49:42 -04:00
python:
- "3.4"
2017-07-19 12:49:43 -04:00
cache:
pip: true
2017-07-19 13:25:29 -04:00
# directories:
# - $GOPATH/src
# - $GOPATH/pkg
2017-07-19 12:49:43 -04:00
2017-07-19 13:25:29 -04:00
# before_cache:
# - rm -rf $GOPATH/src/github.com/osteele/gojekyll
2017-07-19 12:49:43 -04:00
2017-07-02 09:11:33 -04:00
before_install:
- go get github.com/mattn/goveralls
2017-06-21 10:43:10 -04:00
install:
2017-07-12 20:01:17 -04:00
- make setup
2017-07-04 18:01:53 -04:00
- pip install --user Pygments
- export PATH=$HOME/.local/bin:$PATH
2017-06-22 15:45:07 -04:00
2017-06-21 10:43:10 -04:00
script:
2017-08-10 12:07:58 -04:00
- test -n "$TRAVIS_TAG" || $HOME/gopath/bin/goveralls -service=travis-ci
- test -n "$TRAVIS_TAG" || make lint
2017-07-12 19:16:27 -04:00
after_success:
# - test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
2017-07-19 12:25:59 -04:00
- test -n "$TRAVIS_TAG" && make release VERSION="${TRAVIS_TAG#v}"
notifications:
email:
2017-07-15 08:59:19 -04:00
on_success: never
on_failure: change
2017-07-18 09:46:36 -04:00
deploy:
provider: releases
api_key:
secure: bQXlHSSZ6XU0JvbA1GMU0VM97Yt2bAKCrtIpxmR2FwiT3o9p6TtfcJgtsIdgy27mVhp0kvknD2oE5mVetCTsb1J7i049FlcNQnb+IQKr5QnTuDP1UAUQkWj6shaRKP8op6wbLVz4UUm7s2Wfvs3HPTiHdSA8br8Pqj+Q8VjFVJqAbKT7btkPixbt4F1NnDzcGRt0AHY9UT5+cAYoyJ6IH0u71HTVtthYCA/91s7nGuT650RELYhVDlYebfGQARyEvoKYFiy0bQuWKUX6rKe+luyArucoo9D5KsBD33DTESnASfHQLRK0Qa60KWFOPS796d0q1y3vJGdruYGEsN5730Q9hZlnsYZ/EUufSPUEr0ItI3OdbttmDHU1Z5cJT4Mdg0aCG2iEd0KDhv+yb+jXAkwIUyrhnIj+FUfC2ootWcoXqT3dmeVl5yX4WVKJQFqI19m9pEsvFBvUChllH1/prth8ygFvRke9CDNSDfG1Tabs1O5ZiuWbCJb4RsjpGoPgUv6qr0vrapSz4sS4r7y2oUTN3LHSyRLD8hKiMkza8MkqiCt5/LqlNWtT69csnv5d5wLz1FnMg9VgwPMg4OqWIZi/2Z5XNUe/uxSYCXA/FcyaTHZ2FBUb5DPXEiRG4leZaAQizkyk/w+yPQwzo0dDWZywNq4C+PuczM04KBcWPPI=
2017-07-19 12:25:59 -04:00
file: dist/*
file_glob: true
skip_cleanup: true
2017-07-19 12:25:59 -04:00
prerelease: true
2017-07-19 13:02:19 -04:00
overwrite: true
on:
tags: true