diff options
author | Aarni Koskela <akx@iki.fi> | 2015-12-21 00:43:39 +0200 |
---|---|---|
committer | Aarni Koskela <akx@iki.fi> | 2015-12-21 10:52:23 +0200 |
commit | 9ab038fb0556d20788397a450f52f6cd6e94b6c7 (patch) | |
tree | 842cd145c140cb82d56ec6679049aee77de4c459 /.ci | |
parent | cc02cd1e936d632897ca4df3bef2adb4b1cd50c0 (diff) | |
download | babel-9ab038fb0556d20788397a450f52f6cd6e94b6c7.tar.gz |
Test/CI: Add requisite doctest flags; ignore setup.py and venvs
This requires a newer version of py.test, so the requirement is pinned in
the CI configuration.
See https://pytest.org/latest/doctest.html
See https://pytest.org/latest/example/pythoncollection.html#customizing-test-collection-to-find-all-py-files
Diffstat (limited to '.ci')
-rw-r--r-- | .ci/appveyor.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.ci/appveyor.yml b/.ci/appveyor.yml index 67ca84b..5a9fd00 100644 --- a/.ci/appveyor.yml +++ b/.ci/appveyor.yml @@ -43,7 +43,8 @@ install: - "python --version" - "python -c \"import struct; print(struct.calcsize('P') * 8)\"" # Build data files - - "pip install . pytest" + - "pip install --upgrade pytest==2.8.5" + - "pip install --editable ." - "python setup.py import_cldr" build: false # Not a C# project, build stuff at the test step instead. |