##// END OF EJS Templates
Split js tests in N subgroups....
Matthias Bussonnier -
Show More
@@ -5,7 +5,10 b' python:'
5 - 2.7
5 - 2.7
6 - 3.3
6 - 3.3
7 env:
7 env:
8 - GROUP=js
8 - GROUP=js/base
9 - GROUP=js/notebook
10 - GROUP=js/tree
11 - GROUP=js/widgets
9 - GROUP=
12 - GROUP=
10 before_install:
13 before_install:
11 # workaround for https://github.com/travis-ci/travis-cookbooks/issues/155
14 # workaround for https://github.com/travis-ci/travis-cookbooks/issues/155
@@ -27,7 +30,13 b' script:'
27 matrix:
30 matrix:
28 exclude:
31 exclude:
29 - python: 3.3
32 - python: 3.3
30 env: GROUP=js
33 env: GROUP=js/base
34 - python: 3.3
35 env: GROUP=js/notebook
36 - python: 3.3
37 env: GROUP=js/tree
38 - python: 3.3
39 env: GROUP=js/widgets
31
40
32 after_success:
41 after_success:
33 - cp /tmp/ipy_coverage.xml ./
42 - cp /tmp/ipy_coverage.xml ./
@@ -431,12 +431,9 b' def prepare_controllers(options):'
431 not to run."""
431 not to run."""
432 testgroups = options.testgroups
432 testgroups = options.testgroups
433 if testgroups:
433 if testgroups:
434 if 'js' in testgroups:
434 alljs = all_js_groups()
435 js_testgroups = all_js_groups()
435 js_testgroups = [g for g in testgroups if g.startswith(js_prefix)]
436 else:
436 py_testgroups = [g for g in testgroups if g not in alljs]
437 js_testgroups = [g for g in testgroups if g.startswith(js_prefix)]
438
439 py_testgroups = [g for g in testgroups if g not in ['js'] + js_testgroups]
440 else:
437 else:
441 py_testgroups = py_test_group_names
438 py_testgroups = py_test_group_names
442 if not options.all:
439 if not options.all:
General Comments 0
You need to be logged in to leave comments. Login now