mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-20 21:18:32 +02:00
[Travis] update as per code review
Remove "Lint" as separate stage; have `black` check the output rather than run the re-formmater
This commit is contained in:
parent
c1defc7db1
commit
9d183229df
1 changed files with 4 additions and 6 deletions
10
.travis.yml
10
.travis.yml
|
@ -53,17 +53,15 @@ jobs:
|
||||||
- os: windows
|
- os: windows
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- stage: Lint
|
- stage: Lint & Tests
|
||||||
name: Lint, via Black
|
name: Lint, via Black
|
||||||
python: 3.8
|
python: 3.8
|
||||||
install:
|
# black is automatically installed by peotry
|
||||||
- pip install black
|
|
||||||
script:
|
script:
|
||||||
- black .
|
- black --check . --verbose
|
||||||
|
|
||||||
# Python 3.6 Tests
|
# Python 3.6 Tests
|
||||||
- stage: Tests
|
- name: Python 3.6 on Linux
|
||||||
name: Python 3.6 on Linux
|
|
||||||
python: 3.6
|
python: 3.6
|
||||||
- <<: *test_mac
|
- <<: *test_mac
|
||||||
name: Python 3.6 on MacOS
|
name: Python 3.6 on MacOS
|
||||||
|
|
Loading…
Add table
Reference in a new issue