diff options
author | Harald Welte <laforge@osmocom.org> | 2021-04-03 20:21:02 +0200 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2021-04-03 19:58:43 +0000 |
commit | 5da7a72c99665da0cbac340b66feb4dd3c023d7f (patch) | |
tree | f3cec38136dfa78e4d4910f57cbd56696ddf333c /contrib/jenkins.sh | |
parent | 86fbd3973817cd68fae5a0f32a183c7cd1e8565d (diff) |
jenkins.sh: Build documentation as part of build verification
Change-Id: Iea7547c81fcd3e4268da23c18ad56d841aaf7535
Diffstat (limited to 'contrib/jenkins.sh')
-rwxr-xr-x | contrib/jenkins.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh index e286047..efb913e 100755 --- a/contrib/jenkins.sh +++ b/contrib/jenkins.sh @@ -18,6 +18,11 @@ pip install cmd2 # Execute automatically discovered unit tests first python -m unittest discover -v -s tests/ +# attempt to build documentation +pip install sphinx +pip install sphinxcontrib-napoleon +(cd docs && make html) + +# run the test with physical cards cd pysim-testdata ../tests/pysim-test.sh - |