2016-01-31 06:48:15 +08:00
|
|
|
environment:
|
|
|
|
COVERALLS_REPO_TOKEN:
|
|
|
|
secure: 2NJ5Ct55cHJ9WEg3xbSqCuv0rdgzzb6pnzOIG5OkMbTndw3wOBrXntWFoQrXiMFi
|
|
|
|
# this is pytest's token in coveralls.io, encrypted
|
|
|
|
# using pytestbot account as detailed here:
|
|
|
|
# https://www.appveyor.com/docs/build-configuration#secure-variables
|
|
|
|
|
2016-07-05 08:50:05 +08:00
|
|
|
matrix:
|
2016-11-25 02:08:51 +08:00
|
|
|
# coveralls is not in the default env list
|
|
|
|
- TOXENV: "coveralls"
|
2016-11-12 22:29:40 +08:00
|
|
|
# note: please use "tox --listenvs" to populate the build matrix below
|
2016-11-12 21:50:22 +08:00
|
|
|
- TOXENV: "linting"
|
|
|
|
- TOXENV: "py27"
|
|
|
|
- TOXENV: "py34"
|
|
|
|
- TOXENV: "py35"
|
2017-01-06 05:18:03 +08:00
|
|
|
- TOXENV: "py36"
|
2018-06-25 04:54:26 +08:00
|
|
|
# - TOXENV: "pypy" reenable when we are able to provide a scandir wheel or build scandir
|
2016-11-12 21:50:22 +08:00
|
|
|
- TOXENV: "py27-pexpect"
|
|
|
|
- TOXENV: "py27-xdist"
|
|
|
|
- TOXENV: "py27-trial"
|
2017-06-16 09:41:13 +08:00
|
|
|
- TOXENV: "py27-numpy"
|
2017-09-02 05:33:30 +08:00
|
|
|
- TOXENV: "py27-pluggymaster"
|
2017-09-19 08:38:15 +08:00
|
|
|
- TOXENV: "py36-pexpect"
|
|
|
|
- TOXENV: "py36-xdist"
|
|
|
|
- TOXENV: "py36-trial"
|
|
|
|
- TOXENV: "py36-numpy"
|
|
|
|
- TOXENV: "py36-pluggymaster"
|
2016-11-12 21:50:22 +08:00
|
|
|
- TOXENV: "py27-nobyte"
|
|
|
|
- TOXENV: "doctesting"
|
2018-06-20 18:53:41 +08:00
|
|
|
- TOXENV: "py36-freeze"
|
2016-11-12 21:50:22 +08:00
|
|
|
- TOXENV: "docs"
|
2016-07-05 08:50:05 +08:00
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
|
|
|
|
test_script:
|
2016-11-25 02:08:51 +08:00
|
|
|
- call scripts\call-tox.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
|