2015-06-17 22:10:52 +00:00
|
|
|
language: python
|
2015-11-07 14:31:31 +00:00
|
|
|
sudo: required
|
2020-03-09 12:08:33 +00:00
|
|
|
dist: bionic
|
2021-04-02 21:46:55 +00:00
|
|
|
python: 3.7
|
2015-06-25 19:38:15 +00:00
|
|
|
env:
|
2021-04-02 21:46:55 +00:00
|
|
|
- TEST=unit
|
2015-06-17 22:10:52 +00:00
|
|
|
install:
|
2021-04-02 21:46:55 +00:00
|
|
|
- pip install -r requirements.txt
|
|
|
|
- pip install -r test-requirements.txt
|
2015-06-17 22:10:52 +00:00
|
|
|
script:
|
2021-04-02 21:46:55 +00:00
|
|
|
# Tests are run with linters
|
|
|
|
- if [[ $TEST == functional* ]];
|
|
|
|
then
|
|
|
|
source ./test/scripts/run-functional-tests.sh;
|
|
|
|
elif [[ $TEST == 'unit' ]];
|
|
|
|
then
|
|
|
|
source ./test/scripts/run-unit-tests.sh;
|
|
|
|
fi
|
|
|
|
- sphinx-build -W -b html -d ./docs/_build ./docs ./docs/_build/html
|
2016-05-01 20:18:30 +00:00
|
|
|
after_success:
|
|
|
|
- coveralls
|