Merge pull request #9 from dethos/black-check-ci-job
Black check ci job
This commit is contained in:
commit
c297ec2601
18
.travis.yml
18
.travis.yml
|
@ -1,7 +1,22 @@
|
|||
# Config file for automatic testing at travis-ci.org
|
||||
|
||||
stages:
|
||||
- format
|
||||
- test
|
||||
|
||||
language: python
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: format
|
||||
name: "Black format check"
|
||||
python: "3.7"
|
||||
install: pip install black
|
||||
script:
|
||||
- black --version
|
||||
- black . --check
|
||||
after_success: ""
|
||||
|
||||
python:
|
||||
- "3.6"
|
||||
- "3.7"
|
||||
|
@ -11,9 +26,6 @@ env:
|
|||
- DJANGO_VERSION=django-22
|
||||
- DJANGO_VERSION=django-30
|
||||
|
||||
matrix:
|
||||
fast_finish: true
|
||||
|
||||
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
||||
install: pip install -r requirements_test.txt
|
||||
|
||||
|
|
Loading…
Reference in New Issue