spearhead-issue-response/.travis.yml
2017-01-15 10:44:59 +02:00

21 lines
568 B
YAML

language: python
python:
- 2.7
cache: pip
before_install:
- git config credential.helper "store --file=.git/credentials"; echo "https://${GITHUB_API_KEY}:@github.com" > .git/credentials 2>/dev/null
- git config --global user.email "mp@sphs.ro"
- git config --global user.name "Marius Pana"
install:
- pip install mkdocs
- pip install mkdocs-material==0.2.4
script:
- mkdocs build --clean
- git pull
after_success: |
if [ -n "$GITHUB_API_KEY" ]; then
cd "$TRAVIS_BUILD_DIR"
git pull
mkdocs gh-deploy --force
cd "$TRAVIS_BUILD_DIR"
fi