Skip to content

Commit

Permalink
ci: Test using tape-run
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Mar 23, 2018
1 parent c15bc7f commit ac6c5eb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 19 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: node_js
node_js:
- "stable"
sudo: false
before_script:
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start
24 changes: 5 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,17 @@
"component-indexof": "0.0.3"
},
"devDependencies": {
"tape": "~2.3.2"
"browserify": "^16.1.1",
"tape": "~2.3.2",
"tape-run": "^3.0.4"
},
"author": {
"name": "James Halliday",
"email": "[email protected]",
"url": "http://substack.net"
},
"scripts": {
"test": "tap test/*.js"
"test": "browserify test/vm.js | tape-run"
},
"license": "MIT",
"testling": {
"files": "test/*.js",
"browsers": [
"ie/6..latest",
"firefox/16..latest",
"firefox/nightly",
"chrome/22..latest",
"chrome/canary",
"opera/12..latest",
"opera/next",
"safari/5.1..latest",
"ipad/6.0..latest",
"iphone/6.0..latest",
"android-browser/4.2..latest"
]
}
"license": "MIT"
}

0 comments on commit ac6c5eb

Please sign in to comment.