Răsfoiți Sursa

Pass -v flag to pytest in CI

Thomas Kluyver 5 ani în urmă
părinte
comite
865fb5af5b
3 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 1 1
      .travis.yml
  2. 1 1
      appveyor.yml
  3. 2 2
      tox.ini

+ 1 - 1
.travis.yml

@@ -10,4 +10,4 @@ install:
   - pip install tox-travis
 
 # Command to run tests
-script: tox -e python
+script: tox -e python -- -v

+ 1 - 1
appveyor.yml

@@ -12,4 +12,4 @@ install:
 build: off
 
 test_script:
-  - "%PYTHON%\\python.exe -m tox -e python"
+  - "%PYTHON%\\python.exe -m tox -e python -- -v"

+ 2 - 2
tox.ini

@@ -11,7 +11,7 @@ deps = pytest
        yarg
        testpath
        responses
-commands = pytest nsist/tests
+commands = pytest nsist/tests {posargs}
 
 [testenv:notnetwork]
-commands = pytest -m "not network" nsist/tests
+commands = pytest -m "not network" nsist/tests {posargs}