spearhead-issue-response/.travis.yml

18 lines
523 B
YAML
Raw Normal View History

2017-01-13 20:17:41 +02:00
language: python
python:
- 2.7
cache: pip
install:
- pip install awscli
- pip install mkdocs
- pip install mkdocs-material==0.2.4
script:
- mkdocs build --clean
2017-01-13 20:41:52 +02:00
- git remote add gh-pages https://$GITHUB_API_KEY@github.com/spearheadsys/issue-response-docs.git
- git fetch gh-pages
2017-01-13 20:17:41 +02:00
after_success: |
if [ -n "$GITHUB_API_KEY" ]; then
cd "$TRAVIS_BUILD_DIR"
2017-01-13 20:41:52 +02:00
mkdocs gh-deploy -v --clean --remote-name https://$GITHUB_API_KEY@github.com/spearheadsys/issue-response-docs.git
2017-01-13 20:17:41 +02:00
cd "$TRAVIS_BUILD_DIR"
fi