onionbalance/.travis.yml

22 lines
493 B
YAML
Raw Normal View History

2015-06-17 22:10:52 +00:00
language: python
sudo: required
dist: bionic
python: 3.7
env:
- TEST=unit
2015-06-17 22:10:52 +00:00
install:
- pip install -r requirements.txt
- pip install -r test-requirements.txt
2015-06-17 22:10:52 +00:00
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