|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- # This config file is used by appveyor.com to build Windows release binaries
-
- version: 0.4.3-b{build}
-
- branches:
- only:
- - master
- - develop
-
- skip_tags: true
-
- environment:
- global:
- # See: http://stackoverflow.com/a/13751649/163740
- WRAPPER: "cmd /E:ON /V:ON /C .\\scripts\\win_wrapper.cmd"
- PIP: "%WRAPPER% %PYTHON%\\Scripts\\pip.exe"
- SETUPPY: "%WRAPPER% %PYTHON%\\python setup.py --with-extension"
- PYMOD: "%WRAPPER% %PYTHON%\\python -m"
- PYPI_USERNAME: "earwigbot"
- PYPI_PASSWORD:
- secure: gOIcvPxSC2ujuhwOzwj3v8xjq3CCYd8keFWVnguLM+gcL0e02qshDHy7gwZZwj0+
-
- matrix:
- - PYTHON: "C:\\Python27"
- PYTHON_VERSION: "2.7"
- PYTHON_ARCH: "32"
-
- - PYTHON: "C:\\Python27-x64"
- PYTHON_VERSION: "2.7"
- PYTHON_ARCH: "64"
-
- - PYTHON: "C:\\Python33"
- PYTHON_VERSION: "3.3"
- PYTHON_ARCH: "32"
-
- - PYTHON: "C:\\Python33-x64"
- PYTHON_VERSION: "3.3"
- PYTHON_ARCH: "64"
-
- - PYTHON: "C:\\Python34"
- PYTHON_VERSION: "3.4"
- PYTHON_ARCH: "32"
-
- - PYTHON: "C:\\Python34-x64"
- PYTHON_VERSION: "3.4"
- PYTHON_ARCH: "64"
-
- - PYTHON: "C:\\Python35"
- PYTHON_VERSION: "3.5"
- PYTHON_ARCH: "32"
-
- - PYTHON: "C:\\Python35-x64"
- PYTHON_VERSION: "3.5"
- PYTHON_ARCH: "64"
-
- install:
- - "%PIP% install --disable-pip-version-check --user --upgrade pip"
- - "%PIP% install wheel twine"
-
- build_script:
- - "%SETUPPY% build"
-
- test_script:
- - "%SETUPPY% -q test"
-
- after_test:
- - "%SETUPPY% bdist_wheel"
-
- on_success:
- - "IF %APPVEYOR_REPO_BRANCH%==master %PYMOD% twine upload dist\\* -u %PYPI_USERNAME% -p %PYPI_PASSWORD%"
-
- artifacts:
- - path: dist\*
-
- deploy: off
|