diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6f34248 --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/README.rst b/README.rst index 640063f..f3c9563 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,9 @@ 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 `ASGI `_, and developed to power Django Channels.