spearhead-issue-response/.travis.yml

18 lines
434 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
after_success: |
if [ -n "$GITHUB_API_KEY" ]; then
cd "$TRAVIS_BUILD_DIR"
2017-01-13 20:36:30 +02:00
git branch -r
git branch -D gh-pages
2017-01-13 20:17:41 +02:00
mkdocs gh-deploy --remote-name https://$GITHUB_API_KEY@github.com/spearheadsys/issue-response-docs.git
cd "$TRAVIS_BUILD_DIR"
fi