diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..3f8a1c9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +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 ] && + pip install ghp-import --user $USER && + $HOME/.local/bin/ghp-import -n output + git push -qf https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages