[Pkg-javascript-commits] [less.js] 257/285: Don't connect twice
Jonas Smedegaard
dr at jones.dk
Mon Oct 26 23:23:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag v2.0.0
in repository less.js.
commit ec92b03ac90a63bc6cea39095c1f5d652164d406
Author: Luke Page <luke.a.page at gmail.com>
Date: Sat Nov 1 20:01:06 2014 +0000
Don't connect twice
---
Gruntfile.js | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/Gruntfile.js b/Gruntfile.js
index 8e2233d..1911799 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -345,11 +345,15 @@ module.exports = function (grunt) {
'connect::keepalive'
]);
- // setup a web server to run the browser tests in a browser rather than phantom
grunt.registerTask('sauce', [
'browsertest-lessjs',
'jasmine::build',
'connect',
+ 'sauce-after-setup'
+ ]);
+
+ // setup a web server to run the browser tests in a browser rather than phantom
+ grunt.registerTask('sauce-after-setup', [
'saucelabs-jasmine',
'clean:sauce_log'
]);
@@ -361,12 +365,9 @@ module.exports = function (grunt) {
'browsertest'
];
- console.log("Travis env...");
- console.dir(Number(process.env.TRAVIS_PULL_REQUEST, 10));
- console.dir(Number(process.env.TRAVIS_NODE_VERSION));
if (isNaN(Number(process.env.TRAVIS_PULL_REQUEST, 10)) &&
Number(process.env.TRAVIS_NODE_VERSION) === 0.11) {
- testTasks.push("sauce");
+ testTasks.push("sauce-after-setup");
}
// Run all tests
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/less.js.git
More information about the Pkg-javascript-commits
mailing list