Merge pull request #3364 from Calinou/add-travis-ci

Set up continuous integration using Travis CI
This commit is contained in:
Rémi Verschelde
2020-04-17 18:58:00 +02:00
committed by GitHub

View File

@@ -1,11 +1,15 @@
dist: bionic
language: python
python:
- "3.8"
stages:
- build
matrix:
include:
- name: Static checks (format.sh)
- name: Static checks (format.sh) + Sphinx build
stage: build
os: linux
addons:
@@ -13,6 +17,12 @@ matrix:
packages:
- dos2unix
- recode
- texlive-full
script:
- bash ./format.sh
- pip install -r requirements.txt
# TODO: Add `-W` to turn warnings into errors.
# This can only be done once all warnings have been fixed.
- sphinx-build --color -b html -d _build/doctrees . _build/html