Add Travis CI for pull requests.

This commit is contained in:
Quantum 2018-12-07 19:07:37 -05:00
parent ae93124f5d
commit 86896e7fdd
2 changed files with 11 additions and 0 deletions

8
.travis.yml Normal file
View file

@ -0,0 +1,8 @@
language: python
python:
# Current production server runs Debian stretch, which has Python 3.5.
- '3.5'
install:
- pip install -r requirements.txt
script:
- python check.py && python build.py

View file

@ -31,6 +31,9 @@ checks with [`python3 check.py`][4].
To generate the HTML for the site, run [`python3 build.py`][5]. Output will be To generate the HTML for the site, run [`python3 build.py`][5]. Output will be
generated in a directory called `dist`. generated in a directory called `dist`.
Pull requests will be checked with Travis, by running [`check.py`][4] and
[`build.py`][5]. Please ensure that builds pass.
Thank you for contributing. Thank you for contributing.
[1]: https://uwat.cf [1]: https://uwat.cf