1
1
schedules :
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
-
13
2
nightly_master :
14
3
schedule : nightly
15
4
branches :
@@ -19,20 +8,23 @@ schedules:
19
8
matrix :
20
9
exclude :
21
10
- python : [3.4, 3.6, 3.7]
11
+ - cassandra : ['2.1', '3.0', 'test-dse']
22
12
23
13
commit_long_test :
24
14
schedule : per_commit
15
+ disable_pull_requests : true
25
16
branches :
26
17
include : [/long-python.*/]
27
18
env_vars : |
28
19
EVENT_LOOP_MANAGER='libev'
29
20
matrix :
30
21
exclude :
31
22
- python : [3.4, 3.6, 3.7]
32
- - cassandra : ['2.0 ', '2.1 ', '3.0 ']
23
+ - cassandra : ['2.1 ', '3.0 ', 'test-dse ']
33
24
34
25
commit_branches :
35
26
schedule : per_commit
27
+ disable_pull_requests : true
36
28
branches :
37
29
include : [/python.*/]
38
30
env_vars : |
@@ -41,7 +33,7 @@ schedules:
41
33
matrix :
42
34
exclude :
43
35
- python : [3.4, 3.6, 3.7]
44
- - cassandra : ['2.0 ', '2.1 ', '3.0 ']
36
+ - cassandra : ['2.1 ', '3.0 ', 'test-dse ']
45
37
46
38
commit_branches_dev :
47
39
schedule : per_commit
@@ -62,53 +54,71 @@ schedules:
62
54
env_vars : |
63
55
EVENT_LOOP_MANAGER='libev'
64
56
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]
112
122
113
123
upgrade_tests :
114
124
schedule : adhoc
@@ -193,7 +203,21 @@ build:
193
203
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
194
204
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
195
205
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
196
207
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
197
221
fi
198
222
199
223
echo "Running with event loop manager: $EVENT_LOOP_MANAGER"
0 commit comments