From 99b4cdf92ecc646b09a25385a0a498093cedbff7 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Fri, 17 Aug 2012 13:04:43 +0200 Subject: [PATCH] Mention that a few packages are pre-installed in the Python environment. --- docs/user/languages/python.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/user/languages/python.md b/docs/user/languages/python.md index a41011ef..6e708637 100644 --- a/docs/user/languages/python.md +++ b/docs/user/languages/python.md @@ -102,6 +102,15 @@ which is very similar to what [Heroku build pack for Python](https://github.com/ We highly recommend using `--use-mirrors` if you override dependency installation command to reduce the load on PyPI and possibility of installation failures. +### Pre-installed packages + +Travis pre-installs a few packages in each virtualenv by default to +ease running tests: + +- pytest +- nose +- mock + ### Testing Against Multiple Versions of Dependencies (e.g. Django or Flask) If you need to test against multiple versions of, say, Django, you can instruct Travis to do multiple runs with different sets or values of environment variables. Use *env* key in your .travis.yml file, for example: