Revert "don't run tests from /build"

This reverts commit 1687892d63.

This is no longer necessary with the fix in the previous commit.
This commit is contained in:
Łukasz Langa 2018-06-04 11:03:45 -07:00
parent 36bed855e1
commit 4cb338e3dd

View File

@ -9,9 +9,7 @@ install:
- pip install coverage coveralls flake8 flake8-bugbear mypy - pip install coverage coveralls flake8 flake8-bugbear mypy
- pip install -e . - pip install -e .
script: script:
- sudo mkdir -p /black - coverage run tests/test_black.py
- 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' ]]; 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 - if [[ $TRAVIS_PYTHON_VERSION == '3.6-dev' ]]; then flake8 black.py tests/test_black.py; fi
after_success: after_success: