Skip to content

Commit 5b813a3

Browse files
author
Kevin J Walters
committed
Cleaning up script lines - I think the strange looking negative directory tests are intentional and are there for required directories.
Removing superfluous round brackets. #3
1 parent 944cb4d commit 5b813a3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ install:
4444
- pip install --force-reinstall pylint==1.9.2
4545

4646
script:
47-
- ([[ -d "tests" ]] && py.test)
47+
- [[ ! -d "tests" ]] || py.test
4848
- pylint adafruit_midi/*.py
49-
- ([[ -d "tests" ]] && pylint --disable=missing-docstring,invalid-name,bad-whitespace,trailing-whitespace,line-too-long,wrong-import-position,unused-import tests/*.py)
50-
- ([[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py)
49+
- [[ ! -d "tests" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace,trailing-whitespace,line-too-long,wrong-import-position,unused-import tests/*.py
50+
- [[ ! -d "examples" ]] || pylint --disable=missing-docstring,invalid-name,bad-whitespace examples/*.py
5151
- circuitpython-build-bundles --filename_prefix adafruit-circuitpython-midi --library_location .
52-
- cd docs && sphinx-build -E -W -b html . _build/html && cd ..
52+
- ( cd docs && sphinx-build -E -W -b html . _build/html )

0 commit comments

Comments
 (0)