11schedules :
2- commit_master :
3- schedule : per_commit
4- branches :
5- include : [master]
6- env_vars : |
7- EVENT_LOOP_MANAGER='libev'
8- EXCLUDE_LONG=1
9- matrix :
10- exclude :
11- - python : [3.4, 3.6, 3.7]
12-
132 nightly_master :
143 schedule : nightly
154 branches :
@@ -19,20 +8,23 @@ schedules:
198 matrix :
209 exclude :
2110 - python : [3.4, 3.6, 3.7]
11+ - cassandra : ['2.1', '3.0', 'test-dse']
2212
2313 commit_long_test :
2414 schedule : per_commit
15+ disable_pull_requests : true
2516 branches :
2617 include : [/long-python.*/]
2718 env_vars : |
2819 EVENT_LOOP_MANAGER='libev'
2920 matrix :
3021 exclude :
3122 - python : [3.4, 3.6, 3.7]
32- - cassandra : ['2.0 ', '2.1 ', '3.0 ']
23+ - cassandra : ['2.1 ', '3.0 ', 'test-dse ']
3324
3425 commit_branches :
3526 schedule : per_commit
27+ disable_pull_requests : true
3628 branches :
3729 include : [/python.*/]
3830 env_vars : |
@@ -41,7 +33,7 @@ schedules:
4133 matrix :
4234 exclude :
4335 - python : [3.4, 3.6, 3.7]
44- - cassandra : ['2.0 ', '2.1 ', '3.0 ']
36+ - cassandra : ['2.1 ', '3.0 ', 'test-dse ']
4537
4638 commit_branches_dev :
4739 schedule : per_commit
@@ -62,53 +54,71 @@ schedules:
6254 env_vars : |
6355 EVENT_LOOP_MANAGER='libev'
6456
65- # weekly_libev:
66- # schedule: 0 10 * * 6
67- # branches:
68- # include: [master]
69- # env_vars: |
70- # EVENT_LOOP_MANAGER='libev'
71-
72- # weekly_gevent:
73- # schedule: 0 14 * * 6
74- # branches:
75- # include: [master]
76- # env_vars: |
77- # EVENT_LOOP_MANAGER='gevent'
78- # matrix:
79- # exclude:
80- # - python: [3.4, 3.5, 3.6, 3.7]
81-
82- # weekly_eventlet:
83- # schedule: 0 18 * * 6
84- # branches:
85- # include: [master]
86- # env_vars: |
87- # EVENT_LOOP_MANAGER='eventlet'
88-
89- # weekly_asyncio:
90- # schedule: 0 22 * * 6
91- # branches:
92- # include: [master]
93- # env_vars: |
94- # EVENT_LOOP_MANAGER='asyncio'
95- # matrix:
96- # exclude:
97- # - python: [2.7]
98-
99- # weekly_async:
100- # schedule: 0 10 * * 7
101- # branches:
102- # include: [master]
103- # env_vars: |
104- # EVENT_LOOP_MANAGER='asyncore'
105-
106- # weekly_twister:
107- # schedule: 0 14 * * 7
108- # branches:
109- # include: [master]
110- # env_vars: |
111- # EVENT_LOOP_MANAGER='twisted'
57+ weekly_master :
58+ schedule : 0 10 * * 6
59+ branches :
60+ include : [master]
61+ env_vars : |
62+ EVENT_LOOP_MANAGER='libev'
63+ matrix :
64+ exclude :
65+ - python : [2.7, 3.5]
66+ - cassandra : ['2.2', '3.1']
67+
68+ weekly_gevent :
69+ schedule : 0 14 * * 6
70+ branches :
71+ include : [master]
72+ env_vars : |
73+ EVENT_LOOP_MANAGER='gevent'
74+ JUST_EVENT_LOOP=1
75+ matrix :
76+ exclude :
77+ - python : [3.4]
78+
79+ weekly_eventlet :
80+ schedule : 0 18 * * 6
81+ branches :
82+ include : [master]
83+ env_vars : |
84+ EVENT_LOOP_MANAGER='eventlet'
85+ JUST_EVENT_LOOP=1
86+ matrix :
87+ exclude :
88+ - python : [3.4]
89+
90+ weekly_asyncio :
91+ schedule : 0 22 * * 6
92+ branches :
93+ include : [master]
94+ env_vars : |
95+ EVENT_LOOP_MANAGER='asyncio'
96+ JUST_EVENT_LOOP=1
97+ matrix :
98+ exclude :
99+ - python : [2.7]
100+
101+ weekly_async :
102+ schedule : 0 10 * * 7
103+ branches :
104+ include : [master]
105+ env_vars : |
106+ EVENT_LOOP_MANAGER='asyncore'
107+ JUST_EVENT_LOOP=1
108+ matrix :
109+ exclude :
110+ - python : [3.4]
111+
112+ weekly_twister :
113+ schedule : 0 14 * * 7
114+ branches :
115+ include : [master]
116+ env_vars : |
117+ EVENT_LOOP_MANAGER='twisted'
118+ JUST_EVENT_LOOP=1
119+ matrix :
120+ exclude :
121+ - python : [3.4]
112122
113123 upgrade_tests :
114124 schedule : adhoc
@@ -193,7 +203,21 @@ build:
193203 EVENT_LOOP_MANAGER=$EVENT_LOOP_MANAGER VERIFY_CYTHON=1 nosetests -s -v --logging-format="[%(levelname)s] %(asctime)s %(thread)d: %(message)s" --with-ignore-docstrings --with-xunit --xunit-file=unit_results.xml tests/unit/ || true
194204 EVENT_LOOP_MANAGER=eventlet VERIFY_CYTHON=1 nosetests -s -v --logging-format="[%(levelname)s] %(asctime)s %(thread)d: %(message)s" --with-ignore-docstrings --with-xunit --xunit-file=unit_eventlet_results.xml tests/unit/io/test_eventletreactor.py || true
195205 EVENT_LOOP_MANAGER=gevent VERIFY_CYTHON=1 nosetests -s -v --logging-format="[%(levelname)s] %(asctime)s %(thread)d: %(message)s" --with-ignore-docstrings --with-xunit --xunit-file=unit_gevent_results.xml tests/unit/io/test_geventreactor.py || true
206+ fi
196207
208+ if [ -n "$JUST_EVENT_LOOP" ]; then
209+ echo "Running integration event loop subset with $EVENT_LOOP_MANAGER"
210+ EVENT_LOOP_TESTS=(
211+ "tests/integration/standard/test_cluster.py"
212+ "tests/integration/standard/test_concurrent.py"
213+ "tests/integration/standard/test_connection.py"
214+ "tests/integration/standard/test_control_connection.py"
215+ "tests/integration/standard/test_metrics.py"
216+ "tests/integration/standard/test_query.py"
217+ "tests/integration/simulacron/test_endpoint.py"
218+ )
219+ EVENT_LOOP_MANAGER=$EVENT_LOOP_MANAGER CCM_ARGS="$CCM_ARGS" CASSANDRA_VERSION=$CCM_CASSANDRA_VERSION MAPPED_CASSANDRA_VERSION=$MAPPED_CASSANDRA_VERSION VERIFY_CYTHON=$FORCE_CYTHON nosetests -s -v --logging-format="[%(levelname)s] %(asctime)s %(thread)d: %(message)s" --with-ignore-docstrings --with-xunit --xunit-file=standard_results.xml ${EVENT_LOOP_TESTS[@]} || true
220+ exit 0
197221 fi
198222
199223 echo "Running with event loop manager: $EVENT_LOOP_MANAGER"
0 commit comments