File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -292,14 +292,26 @@ view-istanbul-report:
292292
293293# CONTINUOUS INTEGRATION #
294294
295- .PHONY : test-ci test-ci-browsers
295+ .PHONY : test-ci test-ci-browsers test-ci-testling
296296.PHONY : coverage coverage-codecov
297297
298- # test-ci: test-local test-ci-browsers
299- test-ci : test-local
298+ test-ci : test-local test-ci-browsers
300299
301300test-ci-browsers : node_modules
302- xvfb-run @$(MAKE ) -f $(THIS_FILE ) test-browsers
301+ xvfb-run @$(MAKE ) -f $(THIS_FILE ) test-ci-testling
302+
303+ test-ci-testling : node_modules
304+ NODE_ENV=$(NODE_ENV ) \
305+ NODE_PATH=$(NODE_PATH_TEST ) \
306+ for file in $( TESTS) ; do \
307+ echo " " ; \
308+ echo " Running test: $$ file" ; \
309+ $(BROWSERIFY ) \
310+ -p $(BROWSERIFY_PROXYQUIRE ) \
311+ $$ file \
312+ | $(TESTLING ) \
313+ | $(TAP_REPORTER ) ; \
314+ done
303315
304316coverage : coverage-codecov
305317
You can’t perform that action at this time.
0 commit comments