Skip to content

Commit 8f4565f

Browse files
committed
use an if statement instead of a && because the && was resulting in a failing exit code
1 parent 010252c commit 8f4565f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ install:
1111
- pip install -r dev-requirements.txt
1212
- pip install sphinx sphinx_rtd_theme
1313
# black isn't installing on pypy3, so just skip it
14-
- '[ "$TRAVIS_PYTHON_VERSION" != "pypy3" ] && pip install black'
14+
- 'if [ "$TRAVIS_PYTHON_VERSION" != "pypy3" ]; then pip install black; fi'
1515
script:
1616
- flake8
17-
- '[ "$TRAVIS_PYTHON_VERSION" != "pypy3" ] && black --check .'
17+
- 'if [ "$TRAVIS_PYTHON_VERSION" != "pypy3" ]; then black --check .; fi'
1818
- pytest
1919
- make doc
2020

0 commit comments

Comments
 (0)