mirror of
https://github.com/torproject/onionbalance.git
synced 2024-11-23 01:19:49 +00:00
8c83d48802
At some point we need to properly revive the functional tests: https://github.com/asn-d6/onionbalance/issues/46
22 lines
493 B
YAML
22 lines
493 B
YAML
language: python
|
|
sudo: required
|
|
dist: bionic
|
|
python: 3.7
|
|
env:
|
|
- TEST=unit
|
|
install:
|
|
- pip install -r requirements.txt
|
|
- pip install -r test-requirements.txt
|
|
script:
|
|
# 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
|
|
after_success:
|
|
- coveralls
|