don't run tests from /build
This commit is contained in:
parent
ef903ecd46
commit
1687892d63
@ -9,7 +9,9 @@ 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:
|
||||||
- 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' ]]; 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:
|
||||||
|
Loading…
Reference in New Issue
Block a user