1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-30 10:08:58 +01:00
gojekyll/.travis.yml

51 lines
1.5 KiB
YAML
Raw Normal View History

2017-06-13 18:45:33 +02:00
language: go
go:
2017-09-01 14:43:28 +02:00
- 1.8
- 1.9
2017-06-22 21:45:07 +02:00
2017-07-04 23:49:42 +02:00
python:
- "3.4"
2017-07-19 18:49:43 +02:00
cache:
pip: true
2017-07-19 19:25:29 +02:00
# directories:
# - $GOPATH/src
# - $GOPATH/pkg
2017-07-19 18:49:43 +02:00
2017-07-19 19:25:29 +02:00
# before_cache:
# - rm -rf $GOPATH/src/github.com/osteele/gojekyll
2017-07-19 18:49:43 +02:00
2017-07-02 15:11:33 +02:00
before_install:
- go get github.com/mattn/goveralls
2017-06-21 16:43:10 +02:00
install:
2017-07-13 02:01:17 +02:00
- make setup
2017-07-05 00:01:53 +02:00
- pip install --user Pygments
- export PATH=$HOME/.local/bin:$PATH
2017-06-22 21:45:07 +02:00
2017-06-21 16:43:10 +02:00
script:
2017-08-10 18:07:58 +02:00
- test -n "$TRAVIS_TAG" || $HOME/gopath/bin/goveralls -service=travis-ci
- test -n "$TRAVIS_TAG" || make lint
2017-07-13 01:16:27 +02:00
after_success:
# - test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
2017-07-19 18:25:59 +02:00
- test -n "$TRAVIS_TAG" && make release VERSION="${TRAVIS_TAG#v}"
notifications:
email:
2017-07-15 14:59:19 +02:00
on_success: never
on_failure: change
2017-07-18 15:46:36 +02: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 18:25:59 +02:00
file: dist/*
file_glob: true
skip_cleanup: true
2017-07-19 18:25:59 +02:00
prerelease: true
2017-07-19 19:02:19 +02:00
overwrite: true
on:
tags: true