From 1ad168c1f194e2ae06102d368d561b2f4f82fda3 Mon Sep 17 00:00:00 2001 From: Christoph Heindl Date: Sun, 24 Apr 2022 18:41:11 +0200 Subject: [PATCH] Delete appveyor.yml --- appveyor.yml | 84 ---------------------------------------------------- 1 file changed, 84 deletions(-) delete mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 192ec12..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,84 +0,0 @@ -environment: - TWINE_USERNAME: cheind - TWINE_PASSWORD: - secure: hnxMBvmJAGM1rQVOUbkGvQ== - - # http://www.appveyor.com/docs/installed-software#python - matrix: - - PYTHON: "C:\\Miniconda36-x64" - PYTHON_VERSION: "3.6" - PYTHON_ARCH: "64" - - PYTHON: "C:\\Miniconda36" - PYTHON_VERSION: "3.6" - PYTHON_ARCH: "32" - - PYTHON: "C:\\Miniconda35-x64" - PYTHON_VERSION: "3.5" - PYTHON_ARCH: "64" - - PYTHON: "C:\\Miniconda35" - PYTHON_VERSION: "3.5" - PYTHON_ARCH: "32" - -install: - - set "CONDA_ROOT=%PYTHON%" - - set "PATH=%CONDA_ROOT%;%CONDA_ROOT%\Scripts;%CONDA_ROOT%\Library\bin;%PATH%" - - conda config --set always_yes yes - - conda update -q conda - - conda config --set auto_update_conda no - - conda install -q pip pytest pytest-benchmark numpy cython - - python -m pip install -U pip - - pip install wheel - - pip install --upgrade --ignore-installed setuptools - # Install solvers for testing. - - pip install lap lapsolver munkres - # OR-Tools does not support 32-bit. - # https://developers.google.com/optimization/install/python/windows - - ps: >- - if ($env:PYTHON_ARCH -eq "64") { - cmd /c 'pip install ortools 2>&1' - } - -build_script: - - python setup.py sdist - - python setup.py bdist_wheel - -test_script: - # Try building source wheel and install - # Redirect stderr of pip within powershell. - - ps: >- - $wheel = cmd /r dir .\dist\*.tar.gz /b/s; - cmd /c "pip install $wheel 2>&1" - - pytest --pyargs motmetrics - -deploy_script: - ps: >- - if ($env:PYTHON_VERSION -eq "3.6") { - Write-Output("Deploying..."); - pip install --upgrade twine; - if ($env:APPVEYOR_REPO_BRANCH -eq "master") { - Write-Output("Deploying to PyPI") - # If powershell ever sees anything on stderr it thinks it's a fail. - # So we use cmd to redirect stderr to stdout before PS can see it. - cmd /c 'twine upload --skip-existing dist\* 2>&1' - } elseif ($env:APPVEYOR_REPO_BRANCH -eq "develop") { - Write-Output("Deploying to PyPI-Test") - cmd /c 'twine upload --skip-existing --verbose --repository testpypi dist\* 2>&1' - } - } - -artifacts: - - path: "dist\\*.whl" - - path: "dist\\*.tar.gz" - name: Wheels - -notifications: - - provider: Email - to: - - christoph.heindl@email.com - on_build_success: true - on_build_failure: true - -branches: - only: - - master - - develop - - /feature.*/