Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #9 from dethos/black-check-ci-job
Browse files Browse the repository at this point in the history
Black check ci job
  • Loading branch information
dethos committed Jan 28, 2020
2 parents f53dd9b + f01d9b1 commit c297ec2
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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

Expand Down

0 comments on commit c297ec2

Please sign in to comment.