Skip to content

Commit f03b110

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

File tree

2 files changed

+27
-16
lines changed

2 files changed

+27
-16
lines changed

.travis.yml

+26-16
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,33 @@
11
language: node_js
2+
os:
3+
- osx
4+
- linux
25
node_js:
3-
- "6"
4-
- "7"
5-
- "8"
6+
- "6"
7+
- "8"
8+
- "9"
69
script:
7-
- npm test
8-
- node dist/cli.js
9-
sudo: false
10+
- npm test
11+
- node dist/cli.js
12+
- |
13+
if [ "${TRAVIS_NODE_VERSION}" = "9" ]; then
14+
jsvu --os=linux64 --engines=all
15+
~/.jsvu/chakra dist/cli.js
16+
# ~/.jsvu/javascriptcore dist/cli.js
17+
~/.jsvu/spidermonkey dist/cli.js
18+
~/.jsvu/v8 dist/cli.js
19+
fi
1020
branches:
11-
only:
21+
only:
1222
- master
1323

1424
deploy:
15-
local_dir: dist
16-
email: bmeurer@chromium.org
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
25+
local_dir: dist
26+
email: bmeurer@chromium.org
27+
name: Benedikt Meurer
28+
project_name: web-tooling-benchmark
29+
provider: pages
30+
skip_cleanup: true
31+
github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard
32+
on:
33+
branch: master

package.json

+1
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)