X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/223268aaae19ef53254209db43721a18c4295245..36bed855e11b119adc4cd5b3ad87e2da965928ba:/.travis.yml 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: