kopia lustrzana https://github.com/crflynn/voting
23 wiersze
506 B
YAML
23 wiersze
506 B
YAML
dist: xenial
|
|
language: python
|
|
cache:
|
|
pip: true
|
|
directories:
|
|
- "$HOME/.cache/pypoetry"
|
|
python:
|
|
- "2.7"
|
|
- "3.5"
|
|
- "3.6"
|
|
- "3.7"
|
|
- "3.8"
|
|
before_install:
|
|
- pip install poetry==0.12.17
|
|
install:
|
|
- env -u VIRTUAL_ENV poetry install
|
|
script:
|
|
- env -u VIRTUAL_ENV poetry run pytest
|
|
- if [[ $TRAVIS_PYTHON_VERSION == 3.7 ]]; then (env -u VIRTUAL_ENV poetry run black --check .); fi
|
|
after_success:
|
|
- env -u VIRTUAL_ENV poetry run pip install codecov
|
|
- env -u VIRTUAL_ENV poetry run codecov
|