forked from pypa/virtualenv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 955 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: python
python:
- "2.5"
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "pypy"
install:
- pip install --use-mirrors nose coverage
script:
- coverage erase
# Unit tests
- coverage run -a setup.py test
# Integration test
- coverage run -a virtualenv.py --distribute ./test-venv-01
# Another integration test, where we must download
- cp -t bin virtualenv.py; coverage run -a bin/virtualenv.py --distribute ./test-venv-02
# Also test with setuptools if we are on Python 2
- python -c 'import sys; sys.exit(0 if sys.version_info >= (3,) else 1)' || coverage run -a virtualenv.py --setuptools ./test-venv-03
# Setuptools + download
- python -c 'import sys; sys.exit(0 if sys.version_info >= (3,) else 1)' || coverage run -a bin/virtualenv.py --setuptools ./test-venv-04
# How was our test coverage?
- coverage report --show-missing
notifications:
irc:
channels: "irc.freenode.org#pip"
on_success: change
on_failure: change