[Pkg-javascript-commits] [node-coveralls] 223/332: rm unneeded options, bump node in travis
Bastien Roucariès
rouca at moszumanska.debian.org
Thu Nov 9 13:54:03 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-coveralls.
commit 624352aae91033a17ca7c83e3595ec970bcef1c5
Author: Andrii Shumada <eagleeyes91 at gmail.com>
Date: Fri Nov 6 14:56:03 2015 +0200
rm unneeded options, bump node in travis
---
.travis.yml | 6 ++++--
lib/detectLocalGit.js | 2 +-
lib/getOptions.js | 2 +-
3 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index b6f134c..284a527 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,8 @@
language: node_js
node_js:
- - '0.10'
- - '0.11'
+ - stable
+ - 4.2
+ - 0.10
+ - 0.11
script: make test-coveralls
diff --git a/lib/detectLocalGit.js b/lib/detectLocalGit.js
index 302cd44..773eb70 100644
--- a/lib/detectLocalGit.js
+++ b/lib/detectLocalGit.js
@@ -3,7 +3,7 @@ var path = require('path');
var REGEX_BRANCH = /^ref: refs\/heads\/(\w+)$/;
-module.exports = function detectLocalGit(knownCommit, knownBranch) {
+module.exports = function detectLocalGit() {
var dir = process.cwd(), gitDir;
while (path.resolve('/') !== dir) {
gitDir = path.join(dir, '.git');
diff --git a/lib/getOptions.js b/lib/getOptions.js
index 42a3de1..3241abd 100644
--- a/lib/getOptions.js
+++ b/lib/getOptions.js
@@ -68,7 +68,7 @@ var getBaseOptions = function(cb){
}
if (!git_commit || !git_branch) {
- var data = require('./detectLocalGit')(git_commit, git_branch);
+ var data = require('./detectLocalGit')();
if (data) {
git_commit = git_commit || data.git_commit;
git_branch = git_branch || data.git_branch;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-coveralls.git
More information about the Pkg-javascript-commits
mailing list