Skip to content

Commit 7195217

Browse files
Added build files
1 parent aa2e146 commit 7195217

File tree

3 files changed

+69
-0
lines changed

3 files changed

+69
-0
lines changed

.travis.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: python
2+
env:
3+
- TOXENV=flake8
4+
- TOXENV=py27
5+
- TOXENV=py33
6+
- TOXENV=py34
7+
- TOXENV=pypy
8+
- TOXENV=docs
9+
install:
10+
- pip install tox
11+
script:
12+
- tox

MANIFEST.in

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include README.md LICENSE

tox.ini

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
[tox]
2+
envlist=flake8,py27,py33,py34,pypy,docs,coverage
3+
skip_missing_interpreters=True
4+
5+
[testenv]
6+
commands=
7+
coverage run --branch --include="socketio/*" setup.py test
8+
coverage report --show-missing
9+
coverage erase
10+
11+
[testenv:flake8]
12+
basepython=python
13+
deps=
14+
flake8
15+
commands=
16+
flake8 --exclude=".*" socketio tests example
17+
18+
[testenv:py27]
19+
basepython=python2.7
20+
deps=
21+
coverage
22+
mock
23+
24+
[testenv:py33]
25+
basepython=python3.3
26+
deps=
27+
coverage
28+
29+
[testenv:py34]
30+
basepython=python3.4
31+
deps=
32+
coverage
33+
34+
[testenv:pypy]
35+
basepython=pypy
36+
deps=
37+
coverage
38+
39+
[testenv:docs]
40+
basepython=python2.7
41+
changedir=docs
42+
deps=
43+
sphinx
44+
whitelist_externals=
45+
make
46+
commands=
47+
make html
48+
49+
[testenv:coverage]
50+
basepython=python
51+
deps=
52+
coverage
53+
commands=
54+
coverage run --branch --source=socketio setup.py test
55+
coverage html
56+
coverage erase

0 commit comments

Comments
 (0)