diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-04-20 04:34:07 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-04-20 04:34:07 +0400 |
commit | 03f78f7a60a631c01c1fb085b01d98bee61d7bb6 (patch) | |
tree | ea5b46ca986a3027140fff074b8bb1f737a1547d /Makefile | |
parent | 1160935446e06339d8c7e09415d57086746fbce5 (diff) |
run qunit tests in phantomjs for travis-ci
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -5,6 +5,7 @@ BOOTSTRAP_RESPONSIVE_LESS = ./less/responsive.less DATE=$(shell date +%I:%M%p) CHECK=\033[32m✔\033[39m + # # BUILD DOCS # @@ -37,13 +38,16 @@ build: @echo "<3 @mdo and @fat\n" # -# RUN JSHINT -# TODO: run unittests +# RUN JSHINT & QUNIT TESTS IN PHANTOMJS # test: jshint js/*.js --config js/.jshintrc jshint js/tests/unit/*.js --config js/.jshintrc + node js/tests/server.js & + phantomjs js/tests/phantom.js "http://localhost:3000/js/tests" + kill -9 `cat js/tests/pid.txt` + rm js/tests/pid.txt # # BUILD SIMPLE BOOTSTRAP DIRECTORY |