From 77a864531686ed8a0a675fcbc6a2748aac452c04 Mon Sep 17 00:00:00 2001 From: Tim Branyen Date: Sat, 22 Mar 2014 20:19:38 -0400 Subject: [PATCH 1/3] Fixes error message. --- test/repo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/repo.js b/test/repo.js index 4608d0d38..70f3128dd 100644 --- a/test/repo.js +++ b/test/repo.js @@ -12,7 +12,7 @@ exports.openInvalidRepo = function(test){ // Test invalid repository git.Repo.open('repos/nonrepo', function(error, repository) { - test.equals(error.message, "Could not find repository from 'repos/nonrepo'"); + test.ok(error instanceof Error); test.done(); }); }; From 3d0bc26f38f306c5b9b1e78532423a34a26fa0c9 Mon Sep 17 00:00:00 2001 From: Tim Branyen Date: Sat, 22 Mar 2014 20:20:39 -0400 Subject: [PATCH 2/3] Be proactive about Node unstable, but do not fail. At the moment we fail the build if it does not pass in the latest Node unstable. This is undesirable since we only officially support stable versions. However it's nice to be proactive about this version: http://weblog.bocoup.com/proactive-nodejs-development/ --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 72727c9bc..abb240fe8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ language: node_js node_js: - 0.8 - 0.10 - - 0.11.10 git: - depth: 1000 + depth: 1 +matrix: + fast_finish: true + allow_failures: + - node_js: 0.11 From 633ce1c0b11b94ab712ae5503b44bc9a052cbc03 Mon Sep 17 00:00:00 2001 From: Tim Branyen Date: Sat, 22 Mar 2014 20:22:10 -0400 Subject: [PATCH 3/3] Updated README to show the correct Travis-CI badge. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f1c46e1c6..e7ce4aa29 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ nodegit > Node.js libgit2 bindings **v0.1.0** [![Build -Status](https://travis-ci.org/tbranyen/nodegit.png)](https://travis-ci.org/tbranyen/nodegit) +Status](https://travis-ci.org/nodegit/nodegit.png)](https://travis-ci.org/nodegit/nodegit) Maintained by Tim Branyen [@tbranyen](http://twitter.com/tbranyen), Michael Robinson [@codeofinterest](http://twitter.com/codeofinterest), and Nick Kallen [@nk](http://twitter.com/nk), with help from