From 4cb338e3dd1fd0a1b1725c764ed21d5aeeb0ac69 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Langa?= Date: Mon, 4 Jun 2018 11:03:45 -0700 Subject: [PATCH 1/1] Revert "don't run tests from /build" This reverts commit 1687892d63fdff7525bb50a0166db3c5214ce2de. This is no longer necessary with the fix in the previous commit. --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1b95686..77cdbc4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,7 @@ install: - pip install coverage coveralls flake8 flake8-bugbear mypy - pip install -e . script: -- sudo mkdir -p /black -- sudo mount --bind $(pwd) /black -- coverage run /black/tests/test_black.py +- coverage run 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: -- 2.39.5