Better Travis configuration

This commit is contained in:
John Firebaugh
2013-03-06 18:22:28 -08:00
parent 421b9ba29f
commit 893b66bd93
2 changed files with 2 additions and 5 deletions

View File

@@ -1,4 +1 @@
before_script:
- "npm install -g uglify-js mocha-phantomjs"
- "make"
script: mocha-phantomjs test/index.html && mocha-phantomjs test/index_packaged.html
language: node_js

View File

@@ -8,7 +8,7 @@
"test": "test"
},
"scripts": {
"test": "mocha-phantomjs test/index.html"
"test": "mocha-phantomjs test/index.html && make && mocha-phantomjs test/index_packaged.html"
},
"repository": {
"type": "git",