Skip to content

Commit 8606239

Browse files
committed
enable xvfb on travis to fix tape-run
1 parent f98789c commit 8606239

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ sudo: false
77
language: node_js
88
script: "npm run test"
99
# after_success: "npm i -g codecov && npm run coverage && codecov"
10+
before_script:
11+
- export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"scripts": {
77
"deps": "dependency-check . && dependency-check . --extra --no-dev",
88
"start": "node .",
9-
"test": "standard && npm run deps && (browserify test.js | tape-run)",
9+
"test": "standard && npm run deps && browserify test.js | tape-run",
1010
"coverage": "nyc report --reporter=text-lcov > coverage.lcov"
1111
},
1212
"dependencies": {

0 commit comments

Comments
 (0)