-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
29 lines (25 loc) · 805 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.6"
- "2.7"
- "pypy"
- "3.2"
- "3.3"
- "3.4"
env:
- AUTOPEP8_VERSION=pypi
- AUTOPEP8_VERSION=git
install:
- if [ "$TRAVIS_PYTHON_VERSION" == "2.6" ]; then pip --quiet install argparse unittest2; fi
- if [ "$AUTOPEP8_VERSION" == "git" ]; then pip --quiet install git+git://github.com/hhatto/autopep8.git; fi
- python setup.py install --quiet
- pip install --quiet pytest-cov
- git config --global user.email "[email protected]"
- git config --global user.name "Your Name"
- echo -e "[ui]\nusername = Your Name <[email protected]>" > ~/.hgrc
- bzr whoami "Your Name <[email protected]>"
script:
- nosetests --with-coverage --cover-package=pep8radius
after_success:
- pip install --quiet coveralls
- coveralls