Skip to content

Commit dbbb865

Browse files
committed
ok let's just take black out of the requirements and install it conditionally in travis
1 parent b0a8ab5 commit dbbb865

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ install:
1010
- pip install .
1111
- pip install -r dev-requirements.txt
1212
- pip install sphinx sphinx_rtd_theme
13+
# black isn't installing on pypy3, so just skip it
14+
- [ "$TRAVIS_PYTHON_VERSION" != "pypy3"] && pip install black
1315
script:
1416
- flake8
15-
- env
16-
- black --check .
17+
- [ "$TRAVIS_PYTHON_VERSION" != "pypy3"] && black --check .
1718
- pytest
1819
- make doc
1920

dev-requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
black
21
testtools
32
flake8
43
pytest

0 commit comments

Comments
 (0)