Skip to content

Commit 1fc1f68

Browse files
Trying to get tests working on Windows
1 parent 7a3928f commit 1fc1f68

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ language: node_js
77

88
node_js:
99
- 10
10-
- 8
11-
- 6
10+
# - 8
11+
# - 6
1212

1313
os:
14-
- linux
15-
- osx
14+
# - linux
15+
# - osx
1616
- windows
1717

1818
script: npm run lint && npm run coverage

test/fixtures/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
22

33
const path = require("path");
4-
const spawnSync = require("child_process").spawnSync;
4+
const spawnSync = require("cross-spawn").sync;
55

66
const cliPath = path.resolve("bin/bump.js");
77

test/specs/version-hooks.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const chai = require("chai");
88

99
chai.should();
1010

11-
describe("npm version hooks", () => {
11+
describe.only("npm version hooks", () => {
1212

1313
it("should run the preversion script before updating the version number", () => {
1414
files.create("package.json", {

0 commit comments

Comments
 (0)