- Do not add pip debug log (~/.cache/pip/log/debug.log) to Travis cache. - Just install 'pip>7', potentially using an updated version on Travis. - Use travis_retry with "pip install", and also for `npm install`.
This simplifies the generating and caching of wheels, and makes it less fragile (recently failed in https://travis-ci.org/yourlabs/django-autocomplete-light/builds/63843767). Tested in https://travis-ci.org/yourlabs/django-autocomplete-light/builds/63993857.
This reverts commit 61c53f5.
- write PIP_WHEELHOUSE into travis_pip_install script - pass TESTS_SKIP_LIVESERVER/TESTS_USE_PHANTOMJS via "passenv" tox 2.0 won't use (most of) the parent env anymore by default. [ci skip]: passed in https://travis-ci.org/yourlabs/django-autocomplete-light/builds/62715708
- wheels are used and generated through tox' install_command - add USE_POSTGRES (default 0) - fix check for changed tox.ini in error case - use BASEREQ/EXTRAREQ env - fix test for tox log - PIP_DISABLE_PIP_VERSION_CHECK=true - only cache wheelhouse; no .tox anymore - travis: use before_cache hook, list with cache.directories - use travis_retry through wrapped pip only. Previously `tox` was run three times on test failures. Now it should only get done when pip fails because of network issues. Based on pytest-dev/pytest-django#224