Skip to content

Commit 6f2aecb

Browse files
author
Kevin J Walters
committed
Going back to previous .travis.yml as it has broken. #3
1 parent 83d3a2a commit 6f2aecb

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 )
52+
- cd docs && sphinx-build -E -W -b html . _build/html && cd ..

0 commit comments

Comments
 (0)