2016-01-31 06:48:15 +08:00
|
|
|
environment:
|
2016-07-05 08:50:05 +08:00
|
|
|
matrix:
|
2016-11-12 21:50:22 +08:00
|
|
|
- TOXENV: "py27"
|
2018-07-30 06:53:49 +08:00
|
|
|
- TOXENV: "py37"
|
2018-10-14 20:24:28 +08:00
|
|
|
PYTEST_NO_COVERAGE: "1"
|
|
|
|
- TOXENV: "linting,docs,doctesting"
|
|
|
|
- TOXENV: "py36"
|
|
|
|
- TOXENV: "py35"
|
|
|
|
- TOXENV: "py34"
|
2018-09-02 22:17:06 +08:00
|
|
|
- TOXENV: "pypy"
|
2018-09-02 21:22:20 +08:00
|
|
|
PYTEST_NO_COVERAGE: "1"
|
2018-10-14 20:23:09 +08:00
|
|
|
# Specialized factors for py27.
|
|
|
|
- TOXENV: "py27-trial,py27-numpy,py27-nobyte"
|
2017-09-02 05:33:30 +08:00
|
|
|
- TOXENV: "py27-pluggymaster"
|
2018-09-12 00:51:05 +08:00
|
|
|
PYTEST_NO_COVERAGE: "1"
|
2018-10-14 20:23:09 +08:00
|
|
|
- TOXENV: "py27-xdist"
|
|
|
|
# Specialized factors for py36.
|
|
|
|
- TOXENV: "py36-trial,py36-numpy"
|
2017-09-19 08:38:15 +08:00
|
|
|
- TOXENV: "py36-pluggymaster"
|
2018-09-12 00:51:05 +08:00
|
|
|
PYTEST_NO_COVERAGE: "1"
|
2018-06-20 18:53:41 +08:00
|
|
|
- TOXENV: "py36-freeze"
|
2018-09-02 21:22:20 +08:00
|
|
|
PYTEST_NO_COVERAGE: "1"
|
2018-10-14 20:23:09 +08:00
|
|
|
- TOXENV: "py36-xdist"
|
2016-07-05 08:50:05 +08:00
|
|
|
|
2018-10-14 20:24:28 +08:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
2015-06-16 08:58:07 +08:00
|
|
|
install:
|
2015-12-11 09:48:17 +08:00
|
|
|
- echo Installed Pythons
|
|
|
|
- dir c:\Python*
|
2015-06-16 08:58:07 +08:00
|
|
|
|
2016-11-25 02:08:51 +08:00
|
|
|
- if "%TOXENV%" == "pypy" call scripts\install-pypy.bat
|
2016-01-31 06:48:15 +08:00
|
|
|
|
2018-09-02 21:22:20 +08:00
|
|
|
- C:\Python36\python -m pip install --upgrade pip
|
2017-08-15 06:28:54 +08:00
|
|
|
- C:\Python36\python -m pip install --upgrade --pre tox
|
2015-06-16 08:58:07 +08:00
|
|
|
|
|
|
|
build: false # Not a C# project, build stuff at the test step instead.
|
|
|
|
|
2018-09-02 21:22:20 +08:00
|
|
|
before_test:
|
|
|
|
- call scripts\prepare-coverage.bat
|
|
|
|
|
2015-06-16 08:58:07 +08:00
|
|
|
test_script:
|
2018-09-02 21:22:20 +08:00
|
|
|
- C:\Python36\python -m tox
|
|
|
|
|
|
|
|
on_success:
|
|
|
|
- call scripts\upload-coverage.bat
|
2018-05-27 19:01:17 +08:00
|
|
|
|
|
|
|
cache:
|
|
|
|
- '%LOCALAPPDATA%\pip\cache'
|
|
|
|
- '%USERPROFILE%\.cache\pre-commit'
|
2018-06-27 19:28:34 +08:00
|
|
|
|
|
|
|
# We don't deploy anything on tags with AppVeyor, we use Travis instead, so we
|
|
|
|
# might as well save resources
|
|
|
|
skip_tags: true
|