Skip to content

Commit 458af1d

Browse files
committed
Run the benchmark on various engines as part of CI
1 parent 5442220 commit 458af1d

File tree

2 files changed

+24
-15
lines changed

2 files changed

+24
-15
lines changed

.travis.yml

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
11
language: node_js
22
node_js:
3-
- "6"
4-
- "7"
5-
- "8"
3+
- "6"
4+
- "8"
5+
- "9"
66
script:
7-
- npm test
8-
- node dist/cli.js
7+
- npm test
8+
- node dist/cli.js
9+
- |
10+
if [ "${TRAVIS_NODE_VERSION}" = "9" ]; then
11+
jsvu --os=linux64 --engines=all
12+
~/.jsvu/chakra dist/cli.js
13+
# ~/.jsvu/javascriptcore dist/cli.js
14+
~/.jsvu/spidermonkey dist/cli.js
15+
~/.jsvu/v8 dist/cli.js
16+
fi
917
sudo: false
1018
branches:
11-
only:
19+
only:
1220
- master
1321

1422
deploy:
15-
local_dir: dist
16-
17-
name: Benedikt Meurer
18-
project_name: web-tooling-benchmark
19-
provider: pages
20-
skip_cleanup: true
21-
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
22-
on:
23-
branch: master
23+
local_dir: dist
24+
25+
name: Benedikt Meurer
26+
project_name: web-tooling-benchmark
27+
provider: pages
28+
skip_cleanup: true
29+
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
30+
on:
31+
branch: master

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"html-webpack-plugin": "^2.30.1",
5858
"husky": "^0.14.3",
5959
"jest": "^21.2.1",
60+
"jsvu": "^1.0.8",
6061
"lint-staged": "^4.3.0",
6162
"node-libs-browser": "^2.1.0",
6263
"os-browserify": "^0.3.0",

0 commit comments

Comments
 (0)