From: Zsolt Dollenstein Date: Fri, 1 Jun 2018 22:12:20 +0000 (+0100) Subject: don't run tests from /build X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/1687892d63fdff7525bb50a0166db3c5214ce2de don't run tests from /build --- diff --git a/.travis.yml b/.travis.yml index 77cdbc4..1b95686 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: