Merge pull request #9 from dethos/black-check-ci-job

Black check ci job
This commit is contained in:
Gonçalo Valério 2020-01-28 16:33:08 +00:00 committed by GitHub
commit c297ec2601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 3 deletions

View File

@ -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