Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Commit 22287a3

Browse files
committed
Only run black once on py3.7, hopefully
1 parent cd7a402 commit 22287a3

1 file changed

Lines changed: 18 additions & 12 deletions

File tree

.travis.yml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,21 @@ python:
44
- '3.5'
55
- '3.6'
66
- '3.7'
7-
install:
8-
- pip install pytest unittest2 black
9-
- python ./setup.py develop
10-
script:
11-
- black --check .
12-
- python3 -m pytest
13-
addons:
14-
apt:
15-
packages:
16-
- build-essential
17-
- swig
18-
- libpcsclite-dev
7+
jobs:
8+
include:
9+
- stage: lint
10+
python: 3.7
11+
install: pip install black
12+
script: black --check .
13+
- stage: test
14+
install:
15+
- pip install pytest unittest2
16+
- python ./setup.py develop
17+
script:
18+
- python3 -m pytest
19+
addons:
20+
apt:
21+
packages:
22+
- build-essential
23+
- swig
24+
- libpcsclite-dev

0 commit comments

Comments
 (0)