diff --git a/.travis.yml b/.travis.yml index ae7bc94f5..587bd3e03 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/package.json b/package.json index 26728933b..802ca7a5d 100644 --- a/package.json +++ b/package.json @@ -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",