Add travis builds
This commit is contained in:
parent
74f3f53897
commit
dc60c232f6
|
@ -0,0 +1,14 @@
|
|||
language: python
|
||||
|
||||
python:
|
||||
- '2.7'
|
||||
- '3.3'
|
||||
- '3.4'
|
||||
- 'pypy'
|
||||
- 'nightly'
|
||||
|
||||
install:
|
||||
- python -c "import setuptools; print(setuptools.__version__)"
|
||||
|
||||
script:
|
||||
- TEST_WITH_INTERNET=1 python setup.py test
|
|
@ -33,8 +33,7 @@ from websocket._http import read_headers
|
|||
|
||||
|
||||
# Skip test to access the internet.
|
||||
TEST_WITH_INTERNET = False
|
||||
# TEST_WITH_INTERNET = True
|
||||
TEST_WITH_INTERNET = os.environ.get('TEST_WITH_INTERNET', '0') == '1'
|
||||
|
||||
# Skip Secure WebSocket test.
|
||||
TEST_SECURE_WS = True
|
||||
|
|
Loading…
Reference in New Issue