- TOXENV=py34-flake8
install:
- - travis_retry pip install tox
+ - travis_retry pip install tox ppu
script:
- tox
+
+before_cache:
+ - remove-old-files.py -o 180 ~/.cache/pip
- "python --version"
- "python -c \"import struct; print(struct.calcsize('P') * 8)\""
- "pip --version"
- - "pip install tox"
+ - "pip install tox ppu"
# No build step - we don't have C extensions
build: false
test_script:
- "tox -e %TOX_ENV%"
+
+after_test:
+ - "remove-old-files.py -o 180 %LOCALAPPDATA%\\pip\\Cache"
News
====
+Version 0.2.3 (2017-06-??)
+--------------------------
+
+* Use remove-old-files.py from ppu to cleanup pip cache
+ at Travis and AppVeyor.
+
Version 0.2.2 (2017-06-10)
--------------------------
sitepackages = True
# Don't fail or warn on uninstalled commands
whitelist_externals =
- flake8
createdb
dropdb
+ flake8
+ cmp.py
+ rm.py
[general]
commands =
{[testenv]commands}
{envpython} -m pytest --cov=sqlconvert
{envpython} {envbindir}/mysql2sql -P demo/demo.sql test.out
- {envpython} {envbindir}/cmp.py -i tests/mysql2sql/test.out test.out
- {envpython} {envbindir}/rm.py test.out
+ cmp.py -i tests/mysql2sql/test.out test.out
+ rm.py test.out
[testenv:py27]
commands = {[general]commands}
[sqlite]
commands =
{[testenv]commands}
- -{envpython} {envbindir}/rm.py /tmp/test.sqdb
+ -rm.py /tmp/test.sqdb
{envpython} -m pytest --cov=sqlconvert -D sqlite:///tmp/test.sqdb
- {envpython} {envbindir}/rm.py /tmp/test.sqdb
+ rm.py /tmp/test.sqdb
[testenv:py27-sqlite]
commands = {[sqlite]commands}
[sqlite-w32]
commands =
{[testenv]commands}
- -{envpython} {envbindir}/rm.py C:/projects/sqlconvert/test.sqdb
+ -rm.py C:/projects/sqlconvert/test.sqdb
pytest --cov=sqlconvert -D sqlite:/C:/projects/sqlconvert/test.sqdb?debug=1
- {envpython} {envbindir}/rm.py C:/projects/sqlconvert/test.sqdb
+ rm.py C:/projects/sqlconvert/test.sqdb
[testenv:py27-sqlite-w32]
commands = {[sqlite-w32]commands}