Skip to content

Commit

Permalink
Makefile, travis target: Only build the site on node.js 4+ now that m…
Browse files Browse the repository at this point in the history
…etalsmith unsupported older versions.
  • Loading branch information
papandreou committed Apr 24, 2017
1 parent 2e5972f commit 7aa975e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Expand Up @@ -57,7 +57,10 @@ test-browser: create-html-runners unexpected.js
travis-chewbacca:
./node_modules/.bin/chewbacca --threshold ${CHEWBACCA_THRESHOLD} `echo ${TRAVIS_COMMIT_RANGE} | sed -e 's/\.\.\..*//;'` -- test/benchmark.spec.js

travis: clean lint test travis-chewbacca test-phantomjs test-jasmine test-jest-if-supported-node-version coverage site-build
travis: clean lint test travis-chewbacca test-phantomjs test-jasmine test-jest-if-supported-node-version coverage
ifneq ($(shell node --version | grep -vP '^v[0123]\.'),)
make site-build
endif
-<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js

.PHONY: git-dirty-check
Expand Down

0 comments on commit 7aa975e

Please sign in to comment.