Skip to content

Commit caa80f5

Browse files
committed
Update the appveyor configuration to run tests and show build failures.
1 parent 00ee393 commit caa80f5

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

appveyor.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,22 @@ init:
1212
# what combinations to test
1313
environment:
1414
matrix:
15+
- nodejs_version: 0.11
1516
- nodejs_version: 0.10
1617
- nodejs_version: 0.8
1718

19+
matrix:
20+
allow_failures:
21+
- nodejs_version: 0.11
22+
1823
# Get the latest stable version of Node 0.STABLE.latest
1924
install:
2025
- ps: Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version)
21-
- npm install
26+
- npm install --verbose
27+
28+
test_script:
29+
- node --version
30+
- npm --version
31+
- cmd: npm test
2232

2333
build: off

install.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ var dependencies = Q.allSettled([
179179
// Display a warning message about failing to build native node module.
180180
.fail(function(message) {
181181
console.info('[nodegit] Failed to build nodegit.');
182-
console.info(message);
182+
console.info(message.message);
183+
console.info(message.stack);
183184

184185
throw new Error(message);
185186
})

0 commit comments

Comments
 (0)