It seems like Appveyor no longer needs the batch script to configure the MSVC compiler variables. Also, since appveyor already comes with all the python versions we need, we don't need the install.ps1 script any more. Brotli is now installed by tox from requirements.txt inside the test virtualenv.
67 lines
1.5 KiB
YAML
67 lines
1.5 KiB
YAML
environment:
|
|
matrix:
|
|
- PYTHON: "C:\\Python27"
|
|
PYTHON_VERSION: "2.7.x"
|
|
PYTHON_ARCH: "32"
|
|
TOXENV: "py27"
|
|
|
|
- PYTHON: "C:\\Python34"
|
|
PYTHON_VERSION: "3.4.x"
|
|
PYTHON_ARCH: "32"
|
|
TOXENV: "py34"
|
|
|
|
- PYTHON: "C:\\Python35"
|
|
PYTHON_VERSION: "3.5.x"
|
|
PYTHON_ARCH: "32"
|
|
TOXENV: "py35"
|
|
|
|
- PYTHON: "C:\\Python27-x64"
|
|
PYTHON_VERSION: "2.7.x"
|
|
PYTHON_ARCH: "64"
|
|
TOXENV: "py27"
|
|
|
|
- PYTHON: "C:\\Python34-x64"
|
|
PYTHON_VERSION: "3.4.x"
|
|
PYTHON_ARCH: "64"
|
|
TOXENV: "py34"
|
|
|
|
- PYTHON: "C:\\Python35-x64"
|
|
PYTHON_VERSION: "3.5.x"
|
|
PYTHON_ARCH: "64"
|
|
TOXENV: "py35"
|
|
|
|
install:
|
|
# Prepend Python to the PATH of this build
|
|
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
|
|
|
|
# check that we have the expected version and architecture for Python
|
|
- "python --version"
|
|
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
|
|
|
|
# upgrade pip to avoid out-of-date warnings
|
|
- "pip install --disable-pip-version-check --user --upgrade pip"
|
|
|
|
# install the dependencies to run the tests
|
|
- "pip install -r dev-requirements.txt"
|
|
|
|
build: false
|
|
|
|
test_script:
|
|
- "tox"
|
|
|
|
after_test:
|
|
# if tests are successful, create packages for the project
|
|
- python setup.py sdist --formats=zip"
|
|
|
|
artifacts:
|
|
# archive the generated packages in the ci.appveyor.com build report
|
|
- path: dist\*
|
|
|
|
notifications:
|
|
- provider: Email
|
|
to:
|
|
- fonttools@googlegroups.com
|
|
on_build_success: false
|
|
on_build_failure: true
|
|
on_build_status_changed: true
|