2b77fd58eb
This patch introduces the bandit security linter as part of the CI tests run on feedgen.
25 lines
440 B
YAML
25 lines
440 B
YAML
language: python
|
|
|
|
dist: bionic
|
|
|
|
# https://devguide.python.org/#branchstatus
|
|
python:
|
|
- 3.6
|
|
- 3.7
|
|
- 3.8
|
|
|
|
install:
|
|
- pip install bandit flake8 python-coveralls coverage liccheck
|
|
- pip install -r requirements.txt
|
|
- python setup.py bdist_wheel
|
|
- pip install dist/feedgen*
|
|
|
|
script:
|
|
- make test
|
|
- liccheck -s .licenses.ini
|
|
- python -m feedgen
|
|
- python -m feedgen atom
|
|
- python -m feedgen rss
|
|
|
|
after_success:
|
|
- coveralls
|