我在本地和运行tox
时从TravisCI收到此错误。我尝试更新所有要求并调整tox.ini install_command
无效。有任何想法吗?
顺便说一句,我还尝试将./runtests.py
换成任意./file.py
以查看它是否有用 - 我仍然遇到Errno 13 Permission Denied
错误。我还尝试了sudo tox
并得到了相同的Permission Denied
错误。
ERROR: invocation failed (errno 13), args: ['/Users/Aaron/Documents/Projects/organelle/runtests.py', '--lintonly'], cwd: /Users/Aaron/Documents/Projects/organelle
这是我的tox.ini
[tox]
envlist =
py35-flake8,
{py33,py34,py35}-django{1.8,1.9,1.10}-drf{3.1,3.2,3.3,3.4,3.5,3.6}
[testenv]
commands = ./runtests.py --fast {posargs} --verbose
setenv =
PYTHONDONTWRITEBYTECODE=1
deps =
django1.8: Django<1.9
django1.9: Django<1.10
django1.10: Django<1.11
drf3.1: djangorestframework<3.2
drf3.2: djangorestframework<3.3
drf3.3: djangorestframework<3.4
drf3.4: djangorestframework<3.5
drf3.5: djangorestframework<3.6
drf3.6: djangorestframework<3.7
-rrequirements/testing.txt
[testenv:py35-flake8]
commands = ./runtests.py --lintonly
deps =
-rrequirements/codestyle.txt
-rrequirements/testing.txt