Skip to content

Commit ac6c5eb

Browse files
committed
ci: Test using tape-run
1 parent c15bc7f commit ac6c5eb

File tree

2 files changed

+11
-19
lines changed

2 files changed

+11
-19
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
language: node_js
2+
node_js:
3+
- "stable"
4+
sudo: false
5+
before_script:
6+
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start

package.json

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,17 @@
1616
"component-indexof": "0.0.3"
1717
},
1818
"devDependencies": {
19-
"tape": "~2.3.2"
19+
"browserify": "^16.1.1",
20+
"tape": "~2.3.2",
21+
"tape-run": "^3.0.4"
2022
},
2123
"author": {
2224
"name": "James Halliday",
2325
"email": "[email protected]",
2426
"url": "http://substack.net"
2527
},
2628
"scripts": {
27-
"test": "tap test/*.js"
29+
"test": "browserify test/vm.js | tape-run"
2830
},
29-
"license": "MIT",
30-
"testling": {
31-
"files": "test/*.js",
32-
"browsers": [
33-
"ie/6..latest",
34-
"firefox/16..latest",
35-
"firefox/nightly",
36-
"chrome/22..latest",
37-
"chrome/canary",
38-
"opera/12..latest",
39-
"opera/next",
40-
"safari/5.1..latest",
41-
"ipad/6.0..latest",
42-
"iphone/6.0..latest",
43-
"android-browser/4.2..latest"
44-
]
45-
}
31+
"license": "MIT"
4632
}

0 commit comments

Comments
 (0)