Skip to content

Commit f1058cb

Browse files
author
bjmb
committed
Updated travis.yml, tox.ini
1 parent 3336fe1 commit f1058cb

2 files changed

Lines changed: 14 additions & 26 deletions

File tree

.travis.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
language: python
2-
python: 2.7
2+
python:
3+
- "2.7"
4+
- "3.3"
5+
- "3.4"
6+
- "3.5"
7+
- "3.6"
8+
- "pypy-5.4.1"
9+
310
sudo: false
411
env:
5-
- TOX_ENV=py27 CASS_VER=12 CASS_DRIVER_NO_CYTHON=1
6-
- TOX_ENV=py27 CASS_VER=20 CASS_DRIVER_NO_CYTHON=1
7-
- TOX_ENV=py27 CASS_VER=21 CASS_DRIVER_NO_CYTHON=1
8-
- TOX_ENV=py27 CASS_VER=21
9-
- TOX_ENV=py33 CASS_VER=21 CASS_DRIVER_NO_CYTHON=1
10-
- TOX_ENV=py33 CASS_VER=21
11-
- TOX_ENV=py34 CASS_VER=21 CASS_DRIVER_NO_CYTHON=1
12-
- TOX_ENV=py34 CASS_VER=21
13-
- TOX_ENV=pypy CASS_VER=21 CASS_DRIVER_NO_CYTHON=1
12+
- CASS_DRIVER_NO_CYTHON=1
13+
-
1414

1515
addons:
1616
apt:
@@ -22,7 +22,8 @@ addons:
2222
- libev-dev
2323

2424
install:
25-
- pip install tox
25+
- pip install tox-travis
2626

2727
script:
28-
- tox -e $TOX_ENV
28+
- tox
29+
- tox -e patched_loops

tox.ini

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,7 @@ changedir = {envtmpdir}
2020
commands = nosetests --verbosity=2 --no-path-adjustment {toxinidir}/tests/unit/
2121

2222

23-
[testenv:py27]
24-
deps = {[base]deps}
25-
gevent
26-
27-
setenv = LIBEV_EMBED=0
28-
CARES_EMBED=0
29-
MONKEY_PATCH_LOOP=1
30-
changedir = {envtmpdir}
31-
commands =
32-
nosetests --verbosity=2 --no-path-adjustment {toxinidir}/tests/unit/io/test_eventletreactor.py
33-
nosetests --verbosity=2 --no-path-adjustment {toxinidir}/tests/unit/io/test_geventreactor.py
34-
35-
36-
[testenv:py34]
23+
[testenv:patched_loops]
3724
deps = {[base]deps}
3825
gevent
3926

0 commit comments

Comments
 (0)