django-cryptolock/.travis.yml

37 lines
720 B
YAML
Raw Permalink Normal View History

# Config file for automatic testing at travis-ci.org
2020-01-28 16:16:48 +01:00
stages:
- format
- test
language: python
2020-01-28 16:16:48 +01:00
jobs:
include:
- stage: format
name: "Black format check"
python: "3.7"
install: pip install black
script:
- black --version
- black . --check
2020-01-28 16:53:25 +01:00
after_success: ""
2020-01-28 16:16:48 +01:00
python:
- "3.6"
- "3.7"
- "3.8"
env:
- DJANGO_VERSION=django-22
2020-01-06 19:13:47 +01:00
- DJANGO_VERSION=django-30
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install: pip install -r requirements_test.txt
# command to run tests using coverage, e.g. python setup.py test
script: tox -e $(echo py$TRAVIS_PYTHON_VERSION-$DJANGO_VERSION | tr -d .)
after_success:
- coveralls