Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .travis.yml
Original file line numberDiff line numberDiff line change
Expand Up@@ -12,20 +12,15 @@ env:
# https://github.com/jasongin/nvs/blob/master/doc/CI.md
- NVS_VERSION=1.4.2
matrix:
- NODEJS_VERSION=node/4
- NODEJS_VERSION=node/6
- NODEJS_VERSION=node/8
- NODEJS_VERSION=node/9
- NODEJS_VERSION=node/10
- NODEJS_VERSION=chakracore/8
- NODEJS_VERSION=chakracore/10
- NODEJS_VERSION=node/12
- NODEJS_VERSION=nightly
- NODEJS_VERSION=chakracore-nightly
matrix:
fast_finish: true
allow_failures:
- env: NODEJS_VERSION=nightly
- env: NODEJS_VERSION=chakracore-nightly
sudo: false
cache:
directories:
Expand DownExpand Up@@ -59,7 +54,13 @@ install:
script:
# Travis CI sets NVM_NODEJS_ORG_MIRROR, but it makes node-gyp fail to download headers for nightly builds.
- unset NVM_NODEJS_ORG_MIRROR
- NODEJS_MAJOR_VERSION=$(node -p "process.versions.node.match(/\d+/)[0]")

- npm test $NPMOPT
- |
if [ ${NODEJS_MAJOR_VERSION} -gt 11 ]; then
npm test
else
npm test $NPMOPT --NAPI_VERSION=$(node -p "process.versions.napi")
fi
after_success:
- cpp-coveralls --gcov-options '\-lp' --build-root test/build --exclude test
1 change: 0 additions & 1 deletion test/basic_types/array.cc
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
#define NAPI_EXPERIMENTAL
#include "napi.h"

using namespace Napi;
Expand Down