Add Travis CI config

This commit is contained in:
Andrew Godwin 2016-02-05 17:25:37 -08:00
parent bac3c14bfa
commit f85be12408
2 changed files with 12 additions and 0 deletions

9
.travis.yml Normal file
View File

@ -0,0 +1,9 @@
sudo: false
language: python
python:
- "2.7"
- "3.5"
install:
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then pip install unittest2; fi
- pip install asgiref twisted autobahn
script: if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then python -m unittest2; else python -m unittest; fi

View File

@ -1,6 +1,9 @@
daphne daphne
====== ======
.. image:: https://api.travis-ci.org/andrewgodwin/daphne.svg
:target: https://travis-ci.org/andrewgodwin/daphne
Daphne is a HTTP, HTTP2 and WebSocket protocol server for Daphne is a HTTP, HTTP2 and WebSocket protocol server for
`ASGI <http://channels.readthedocs.org/en/latest/asgi.html>`_, and developed `ASGI <http://channels.readthedocs.org/en/latest/asgi.html>`_, and developed
to power Django Channels. to power Django Channels.