Skip to content

Commit 6e1c28b

Browse files
committed
Update test-ci target
1 parent abd09c4 commit 6e1c28b

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

Makefile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ TESTLING ?= $(NODE_MODULES)/.bin/testling
8383
TESTLING_DIR ?= ./
8484

8585

86+
# TRAVIS #
87+
88+
TRAVIS_RUN ?= ./.travis.sh
89+
90+
8691
# JSHINT #
8792

8893
JSHINT ?= $(NODE_MODULES)/.bin/jshint
@@ -201,9 +206,7 @@ examples: node_modules
201206

202207
test:
203208
ifeq ($(TRAVIS), true)
204-
# @$(MAKE) -f $(THIS_FILE) test-ci
205-
chmod 755 ./.travis.sh
206-
./.travis.sh
209+
@$(MAKE) -f $(THIS_FILE) test-ci
207210
else
208211
@$(MAKE) -f $(THIS_FILE) test-local
209212
endif
@@ -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

294299
test-ci-browsers: node_modules
295300
xvfb-run make -f $(THIS_FILE) test-browsers

0 commit comments

Comments
 (0)