1
0
mirror of https://github.com/b4tman/sync_ics2gcal synced 2024-09-21 00:48:02 +00:00
sync_ics2gcal/.travis.yml
2022-02-11 14:29:25 +03:00

22 lines
546 B
YAML

language: python
os: linux
dist: focal
python:
- "3.7"
- "3.8"
- "3.9"
- "3.10"
before_install:
- pip install poetry
install:
- poetry install
script:
# stop the build if there are Python syntax errors or undefined names
- poetry run flake8 sync_ics2gcal --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
- poetry run flake8 sync_ics2gcal --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
# run tests
- poetry run pytest -v