Skip to content

Commit 13f7034

Browse files
committed
build: add tests for Node.js v11
PR-URL: #247 Reviewed-By: Colin Ihrig <[email protected]>
1 parent ab2a786 commit 13f7034

File tree

2 files changed

+32
-9
lines changed

2 files changed

+32
-9
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,20 @@ matrix:
4747
- npm run coverage
4848
- npm run codecov-upload
4949

50+
- name: "[Trusty] Node.js v11.x"
51+
sudo: required
52+
dist: trusty
53+
before_install:
54+
- sudo apt-get -qq update
55+
- sudo apt-get install lldb-3.9 liblldb-3.9-dev lcov -y
56+
install:
57+
- npm install --llnode_build_addon=true --llnode_coverage=true
58+
script: TEST_LLDB_BINARY=`which lldb-3.9` npm run nyc-test-all
59+
node_js: "11"
60+
after_success:
61+
- npm run coverage
62+
- npm run codecov-upload
63+
5064
###########################
5165
# Nightlies & V8 Canaries #
5266
###########################
@@ -112,6 +126,13 @@ matrix:
112126
script: npm run test-all
113127
node_js: "10"
114128

129+
- name: "[OSX] Node.js v11.x"
130+
os: osx
131+
osx_image: xcode9.3
132+
install: npm install --llnode_build_addon=true
133+
script: npm run test-all
134+
node_js: "11"
135+
115136
##########
116137
# Linter #
117138
##########

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ https://asciinema.org/a/29589
2323

2424
## Build Status
2525

26-
| Version | v6.x | v8.x | v10.x | master | v8-canary |
27-
|---------|-------------------------|-------------------------|---------------------------|-------------------------------|----------------------------------|
28-
| **Trusty** | [![v6.x badge][v6-trusty-badge]][travis] | [![v8.x badge][v8-trusty-badge]][travis] | [![v10.x badge][v10-trusty-badge]][travis] | [![master badge][master-trusty-badge]][travis] | [![v8-canary badge][canary-trusty-badge]][travis] |
29-
| **OS X** | [![v6.x badge][v6-osx-badge]][travis] | [![v8.x badge][v8-osx-badge]][travis] | [![v10.x badge][v10-osx-badge]][travis] | - | - |
26+
| Version | v6.x | v8.x | v10.x | v11.x | master | v8-canary |
27+
|---------|-------------------------|-------------------------|---------------------------|---------------------------|-------------------------------|----------------------------------|
28+
| **Trusty** | [![v6.x badge][v6-trusty-badge]][travis] | [![v8.x badge][v8-trusty-badge]][travis] | [![v10.x badge][v10-trusty-badge]][travis] | [![v11.x badge][v11-trusty-badge]][travis] | [![master badge][master-trusty-badge]][travis] | [![v8-canary badge][canary-trusty-badge]][travis] |
29+
| **OS X** | [![v6.x badge][v6-osx-badge]][travis] | [![v8.x badge][v8-osx-badge]][travis] | [![v10.x badge][v10-osx-badge]][travis] | [![v11.x badge][v11-osx-badge]][travis] | - | - |
3030

3131
We have nightly test runs against all Node.js active release lines. We also test
3232
against Node.js master and Node.js v8-canary nightly builds to help us identify
@@ -388,10 +388,12 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
388388
[v6-trusty-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/1?use_travis_com=true
389389
[v8-trusty-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/2?use_travis_com=true
390390
[v10-trusty-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/3?use_travis_com=true
391+
[v11-trusty-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/4?use_travis_com=true
391392
392-
[v6-osx-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/4?use_travis_com=true
393-
[v8-osx-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/5?use_travis_com=true
394-
[v10-osx-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/6?use_travis_com=true
393+
[v6-osx-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/5?use_travis_com=true
394+
[v8-osx-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/6?use_travis_com=true
395+
[v10-osx-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/7?use_travis_com=true
396+
[v11-osx-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/8?use_travis_com=true
395397
396-
[master-trusty-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/7?use_travis_com=true
397-
[canary-trusty-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/8?use_travis_com=true
398+
[master-trusty-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/10?use_travis_com=true
399+
[canary-trusty-badge]: https://travisci-matrix-badges.herokuapp.com/repos/nodejs/llnode/branches/master/11?use_travis_com=true

0 commit comments

Comments
 (0)