File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,6 +83,11 @@ TESTLING ?= $(NODE_MODULES)/.bin/testling
8383TESTLING_DIR ?= ./
8484
8585
86+ # TRAVIS #
87+
88+ TRAVIS_RUN ?= ./.travis.sh
89+
90+
8691# JSHINT #
8792
8893JSHINT ?= $(NODE_MODULES ) /.bin/jshint
@@ -201,9 +206,7 @@ examples: node_modules
201206
202207test :
203208ifeq ($(TRAVIS ) , true)
204- # @$(MAKE) -f $(THIS_FILE) test-ci
205- chmod 755 ./.travis.sh
206- ./.travis.sh
209+ @$(MAKE) -f $(THIS_FILE) test-ci
207210else
208211 @$(MAKE) -f $(THIS_FILE) test-local
209212endif
@@ -289,7 +292,9 @@ view-istanbul-report:
289292.PHONY : test-ci test-ci-browsers
290293.PHONY : coverage coverage-codecov
291294
292- test-ci : test-local test-ci-browsers
295+ test-ci : node_modules
296+ chmod 755 $(TRAVIS_RUN )
297+ $(TRAVIS_RUN )
293298
294299test-ci-browsers : node_modules
295300 xvfb-run make -f $(THIS_FILE ) test-browsers
You can’t perform that action at this time.
0 commit comments