appveyor: install cxfreeze only for python 36

This commit is contained in:
Johannes Pohl
2018-08-30 11:28:54 +02:00
parent 28ed48d56f
commit d072a844c6

View File

@@ -64,10 +64,10 @@ test_script:
- IF "%APPVEYOR_REPO_TAG%" == "false" (python -m pytest -v -s)
after_test:
- IF "%APPVEYOR_REPO_TAG%" == "true" (pip install wheel twine cx_freeze!=5.1 six appdirs packaging pyaudio)
- IF "%APPVEYOR_REPO_TAG%" == "true" (pip install wheel twine six appdirs packaging pyaudio)
- IF "%APPVEYOR_REPO_TAG%" == "true" (python -c "import tempfile, os; open(os.path.join(tempfile.gettempdir(), 'urh_releasing'), 'w').close()")
- IF "%APPVEYOR_REPO_TAG%" == "true" (python setup.py bdist_wheel)
- IF "%APPVEYOR_REPO_TAG%" == "true" (IF "%PYTHON_VERSION%" == "3.6.x" (python data\build_cx.py))
- IF "%APPVEYOR_REPO_TAG%" == "true" (IF "%PYTHON_VERSION%" == "3.6.x" (pip install cx_freeze & python data\build_cx.py))
- IF "%APPVEYOR_REPO_TAG%" == "true" (dir dist)
artifacts: