File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,8 @@ matrix:
37
37
env : TXPOSTGRES_TEST_HOST=127.0.0.1 TXPOSTGRES_TEST_USER=postgres REACTOR=select
38
38
- python : 3.5
39
39
env : TXPOSTGRES_TEST_HOST=127.0.0.1 TXPOSTGRES_TEST_USER=postgres REACTOR=poll
40
- # the Travis builder complains about running trial --reactor=default
41
- # on Py3k, so disable it and use epoll explicitly
42
40
- python : 3.5
43
- env : TXPOSTGRES_TEST_HOST=127.0.0.1 TXPOSTGRES_TEST_USER=postgres REACTOR=default
41
+ env : TXPOSTGRES_TEST_HOST=127.0.0.1 TXPOSTGRES_TEST_USER=postgres REACTOR=epoll
44
42
- python : 3.5
45
43
env : TXPOSTGRES_TEST_HOST=127.0.0.1 TXPOSTGRES_TEST_USER=postgres REACTOR=gtk2
46
44
@@ -68,7 +66,8 @@ install:
68
66
before_script :
69
67
- psql -U postgres -c 'create database twisted_test'
70
68
71
- script : trial --reactor=$REACTOR test
69
+ # in Travis, the Python 3.5 Twisted install doesn't work with --reactor=XXX, so just run plain `trial test`
70
+ script : test "$TRAVIS_PYTHON_VERSION" != "3.5" && trial --reactor=$REACTOR test || trial test
72
71
73
72
notifications :
74
73
email :
You can’t perform that action at this time.
0 commit comments