- "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.
tests/messages/data/project/i18n/long_messages.pot
tests/messages/data/project/i18n/temp.pot
tests/messages/data/project/i18n/en_US
+/venv*
cache:
directories:
- cldr
+ - "$HOME/.cache/pip"
matrix:
include:
install:
- bash .ci/deps.${TRAVIS_OS_NAME}.sh
- pip install --upgrade pip
- - pip install --allow-external cdecimal pytest pytest-cov $CDECIMAL
+ - pip install --allow-external cdecimal --upgrade pytest==2.8.5 pytest-cov==2.2.0 $CDECIMAL
- pip install --editable .
script:
PY2 = sys.version_info[0] < 3
-collect_ignore = ['tests/messages/data']
+collect_ignore = ['tests/messages/data', 'setup.py']
def pytest_collect_file(path, parent):
release = sdist bdist_wheel
[pytest]
-norecursedirs = .* _* scripts {args}
+norecursedirs = venv* .* _* scripts {args}
+doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE ALLOW_UNICODE
[bdist_wheel]
universal = 1