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" git branch -r git branch -D gh-pages mkdocs gh-deploy --remote-name https://$GITHUB_API_KEY@github.com/spearheadsys/issue-response-docs.git cd "$TRAVIS_BUILD_DIR" fi