personal-website/.travis.yml

13 lines
365 B
YAML
Raw Normal View History

2016-08-17 17:35:42 +00:00
language: python
python: "3.5"
# command to install dependencies
install: pip install 'Nikola[extras]'
# command to run tests
script: nikola build
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
2016-08-17 17:40:26 +00:00
pip install ghp-import &&
2016-08-17 18:06:02 +00:00
ghp-import -n output
2016-08-17 17:35:42 +00:00
git push -qf https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages