Skip to content

Commit 7522ca9

Browse files
authored
Test currently released versions of Node.js
1 parent 64e514e commit 7522ca9

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
language: node_js
22
node_js:
3-
- "0.12"
4-
- "0.10"
5-
- "4"
6-
- "5"
7-
- "6"
3+
- 10
4+
- 12
5+
- 13
86
sudo: false

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
},
2727
"homepage": "https://github.com/retrohacker/getos",
2828
"devDependencies": {
29-
"cli-color": "^1.4.0",
29+
"cli-color": "^2.0.0",
3030
"execSync": "^1.0.2",
31-
"standard": "^13.1.0",
32-
"tape": "^4.11.0"
31+
"standard": "^14.3.1",
32+
"tape": "^4.13.0"
3333
},
3434
"dependencies": {
3535
"async": "^3.1.0"

tests/mocktests.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fs.readFile = function (file, enc, callback) {
2626
mockdata.forEach(function (data) {
2727
test('test ' + data.desc, function (t) {
2828
// reload each time to avoid internal caching
29-
require.cache[require.resolve('../')] = null
29+
delete require.cache[require.resolve('../')]
3030
var getos = require('../')
3131

3232
currentData = data

0 commit comments

Comments
 (0)