Skip to content

Commit 676999c

Browse files
committed
Added configuration files for Travis-CI
1 parent e71c81a commit 676999c

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.coveralls.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
service_name: travis-ci

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: python
2+
python: 3.5
3+
4+
env:
5+
- TOX_ENV=py27
6+
- TOX_ENV=py33
7+
- TOX_ENV=py34
8+
- TOX_ENV=py35
9+
- TOX_ENV=pypy
10+
- TOX_ENV=pypy3
11+
12+
install:
13+
- pip install tox
14+
- pip install coverage
15+
- pip install coveralls
16+
- pip install pytest>=2.7.3 --upgrade
17+
18+
script:
19+
- tox -e $TOX_ENV
20+
21+
after_success:
22+
- coverage combine
23+
- coveralls

tox.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[tox]
2+
envlist = py27,py33,py34,py35,pypy,pypy3
3+
4+
[testenv]
5+
commands = nosetests --with-coverage {posargs} tests
6+
deps =
7+
nose
8+
coverage

0 commit comments

Comments
 (0)