edd988f8a6
This patch adds a license checker to the automated tests. This ensures that only dependencies with licenses from a list of known good licenses are used.
25 lines
439 B
YAML
25 lines
439 B
YAML
language: python
|
|
|
|
dist: bionic
|
|
|
|
# https://devguide.python.org/#branchstatus
|
|
python:
|
|
- "2.7"
|
|
- "3.6"
|
|
- "3.7"
|
|
|
|
install:
|
|
- pip install 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
|