@@ -16,11 +16,15 @@ def main():
16
16
'''
17
17
Delay the Travis CI testing for Python versions so that they don't interfere with each other
18
18
'''
19
-
20
19
python_version = "{0}.{1}" .format (sys .version_info [0 ], sys .version_info [1 ])
21
20
22
- if re .search (r"^3.4" , python_version ):
23
- total_delay = 3 * TRAVIS_DELAY
21
+ if re .search (r"^3.5" , python_version ):
22
+ total_delay = 0 * TRAVIS_DELAY
23
+ print ("Python 3.5 found" )
24
+ print ("Sleeping for {0} seconds" .format (total_delay ))
25
+ time .sleep (total_delay )
26
+ elif re .search (r"^3.4" , python_version ):
27
+ total_delay = 1 * TRAVIS_DELAY
24
28
print ("Python 3.4 found" )
25
29
print ("Sleeping for {0} seconds" .format (total_delay ))
26
30
time .sleep (total_delay )
@@ -30,12 +34,12 @@ def main():
30
34
print ("Sleeping for {0} seconds" .format (total_delay ))
31
35
time .sleep (total_delay )
32
36
elif re .search (r"^2.7" , python_version ):
33
- total_delay = 1 * TRAVIS_DELAY
37
+ total_delay = 3 * TRAVIS_DELAY
34
38
print ("Python 2.7 found" )
35
39
print ("Sleeping for {0} seconds" .format (total_delay ))
36
40
time .sleep (total_delay )
37
41
elif re .search (r"^2.6" , python_version ):
38
- total_delay = 0 * TRAVIS_DELAY
42
+ total_delay = 4 * TRAVIS_DELAY
39
43
print ("Python 2.6 found" )
40
44
print ("Sleeping for {0} seconds" .format (total_delay ))
41
45
0 commit comments