forked from mps-youtube/pafy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
28 lines (23 loc) · 744 Bytes
/
.travis.yml
File metadata and controls
28 lines (23 loc) · 744 Bytes
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
language: python
python:
- "2.6"
- "2.7"
- "3.3"
- "3.4"
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install unittest2; fi
- pip install coveralls > /dev/null
- pip install youtube-dl > /dev/null
before_script:
- printenv
- ls -l
- coverage debug sys
- pip install wheel
- python setup.py sdist bdist_wheel
- python setup.py install
script:
coverage run --omit="/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/unittest2/*,/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/six.py,/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/argparse.py" tests/test.py
after_success:
- coverage report
- coveralls
sudo: false