Commit 1687892d authored by Zsolt Dollenstein's avatar Zsolt Dollenstein
Browse files

don't run tests from /build

parent ef903ecd
Loading
Loading
Loading
Loading
+3 −1
Changes for .travis.yml: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -9,7 +9,9 @@ install:
- pip install coverage coveralls flake8 flake8-bugbear mypy
- pip install -e .
script:
- coverage run tests/test_black.py
- sudo mkdir -p /black
- sudo mount --bind $(pwd) /black
- coverage run /black/tests/test_black.py
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then mypy black.py tests/test_black.py; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.6-dev' ]]; then flake8 black.py tests/test_black.py; fi
after_success: