onionshare/.travis.yml

22 lines
675 B
YAML
Raw Normal View History

2014-08-20 22:58:56 -04:00
language: python
2017-05-31 01:39:06 -04:00
# sudo: required
dist: bionic
2014-08-20 22:58:56 -04:00
python:
- "3.6"
- "3.6-dev"
- "3.7-dev"
- "nightly"
2014-08-20 22:58:56 -04:00
# command to install dependencies
install:
- pip install -r install/requirements.txt
2018-09-22 04:07:14 -04:00
- pip install pytest-cov coveralls flake8
2018-02-14 02:00:21 -05:00
before_script:
# stop the build if there are Python syntax errors or undefined names
- flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
2014-08-20 22:58:56 -04:00
# command to run tests
2017-05-31 01:51:29 -04:00
script: pytest --cov=onionshare test/
2017-05-31 01:53:51 -04:00
after_success:
- coveralls