Skip to content

Commit

Permalink
tap 1.2.0 and travis
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Jun 1, 2015
1 parent aea58fc commit dbf9fb5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: node_js
before_script: npm install -g npm@latest
node_js:
- '0.8'
- '0.10'
- '0.12'
- 'iojs'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"main": "lib/lru-cache.js",
"repository": "git://github.com/isaacs/node-lru-cache.git",
"devDependencies": {
"tap": "^0.7.1",
"tap": "^1.2.0",
"weak": ""
},
"license": "ISC"
Expand Down
1 change: 0 additions & 1 deletion test/foreach.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ test('expires', function (t) {
t.equal(val, j.toString(2))
})
t.equal(i, order.length);
t.end()

setTimeout(function () {
var count = 0;
Expand Down
5 changes: 5 additions & 0 deletions test/memory-leak.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/env node --expose_gc

if (!(/^v0.10/.test(process.version))) {
require('tap').pass('weak module only works on 0.10', { skip: true })
return
}

var weak = require('weak');
var test = require('tap').test
var LRU = require('../')
Expand Down

0 comments on commit dbf9fb5

Please sign in to comment.