diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ae0bca9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: python +python: + - "2.7" +sudo: false +dist: trusty + +install: + - pip install -r requirements.txt + +script: + - python build.py + +deploy: + provider: pages + skip_cleanup: true + github_token: $GITHUB_TOKEN + on: + branch: master diff --git a/build.py b/build.py index 19fb447..69d1acc 100755 --- a/build.py +++ b/build.py @@ -6,4 +6,4 @@ ('index.html', {}) ]) # enable automatic reloading - site.render(use_reloader=True) + site.render(use_reloader=False)