From 893b66bd9384adb7632f4da568ebd3443ff343d0 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 6 Mar 2013 18:22:28 -0800 Subject: [PATCH] Better Travis configuration --- .travis.yml | 5 +---- package.json | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) 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",