diff --git a/ci/appveyor/tests.cmd b/ci/appveyor/tests.cmd index 094bc394e38247295483cfccd0019374eccfd14e..e901b0acf46583b8ec958140c7b0f0bb9d0a1b4b 100644 --- a/ci/appveyor/tests.cmd +++ b/ci/appveyor/tests.cmd @@ -13,6 +13,6 @@ lrelease -version echo "%CWD%" -python setup.py test +py.test if %errorlevel% neq 0 exit /b 1 \ No newline at end of file diff --git a/ci/travis/test.sh b/ci/travis/test.sh index fff3ec06f80b27955f527aaa30e008c28736358c..f6567784ef2f9c3499e8016f94612e9a494731d4 100755 --- a/ci/travis/test.sh +++ b/ci/travis/test.sh @@ -14,9 +14,9 @@ cd $HOME/build/duniter/sakia pyenv shell $PYENV_PYTHON_VERSION if [ $TRAVIS_OS_NAME == "linux" ] then - coverage run --source=sakia.core,sakia.gui,sakia.models pytest + coverage run --source=sakia.core,sakia.gui,sakia.models py.test else - pytest + py.test fi