Skip to content

Commit

Permalink
Added build files
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Jul 15, 2015
1 parent aa2e146 commit 7195217
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: python
env:
- TOXENV=flake8
- TOXENV=py27
- TOXENV=py33
- TOXENV=py34
- TOXENV=pypy
- TOXENV=docs
install:
- pip install tox
script:
- tox
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include README.md LICENSE
56 changes: 56 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[tox]
envlist=flake8,py27,py33,py34,pypy,docs,coverage
skip_missing_interpreters=True

[testenv]
commands=
coverage run --branch --include="socketio/*" setup.py test
coverage report --show-missing
coverage erase

[testenv:flake8]
basepython=python
deps=
flake8
commands=
flake8 --exclude=".*" socketio tests example

[testenv:py27]
basepython=python2.7
deps=
coverage
mock

[testenv:py33]
basepython=python3.3
deps=
coverage

[testenv:py34]
basepython=python3.4
deps=
coverage

[testenv:pypy]
basepython=pypy
deps=
coverage

[testenv:docs]
basepython=python2.7
changedir=docs
deps=
sphinx
whitelist_externals=
make
commands=
make html

[testenv:coverage]
basepython=python
deps=
coverage
commands=
coverage run --branch --source=socketio setup.py test
coverage html
coverage erase

0 comments on commit 7195217

Please sign in to comment.