mirror of
https://github.com/beetbox/beets.git
synced 2026-02-03 22:12:27 +01:00
- Add support for Python 3 testing. - Add Python 3.3, 3.4 and 3.5 tests to Travis and AppVeyor. - Allow arguments to be passed to tox from test matrix. - Simplify tox configuration so that we now only have `test`, `flake8` and `docs` tasks.
34 lines
862 B
YAML
34 lines
862 B
YAML
version: "{build}"
|
|
build: off
|
|
deploy: off
|
|
|
|
environment:
|
|
matrix:
|
|
- PYTHON: C:\Python27
|
|
TOX_ENV: py27-test
|
|
TOX_ARGS: --show-skipped
|
|
- PYTHON: C:\Python33
|
|
TOX_ENV: py33-test
|
|
TOX_ARGS: --show-skipped
|
|
- PYTHON: C:\Python34
|
|
TOX_ENV: py34-test
|
|
TOX_ARGS: --show-skipped
|
|
- PYTHON: C:\Python35
|
|
TOX_ENV: py35-test
|
|
TOX_ARGS: --show-skipped
|
|
|
|
# Install Tox for running tests.
|
|
install:
|
|
- "%PYTHON%/Scripts/pip.exe install tox"
|
|
- "%PYTHON%/Scripts/tox.exe -e %TOX_ENV% --notest"
|
|
|
|
test_script:
|
|
- "%PYTHON%/Scripts/tox.exe -e %TOX_ENV% -- %TOX_ARGS%"
|
|
|
|
# Allow all failures for now: the tests don't yet pass!
|
|
matrix:
|
|
allow_failures:
|
|
- TOX_ENV: py27-test
|
|
- TOX_ENV: py33-test
|
|
- TOX_ENV: py34-test
|
|
- TOX_ENV: py35-test
|