2017-12-02 20:58:39 +01:00
|
|
|
language: node_js
|
2018-03-21 13:26:11 +01:00
|
|
|
notifications:
|
|
|
|
email: false
|
2018-07-19 19:43:06 +02:00
|
|
|
before_install: npm config set progress=false && npm i -g npm@latest --no-audit
|
2018-11-08 08:16:16 +01:00
|
|
|
install: npm ci --no-audit
|
2018-06-28 19:18:04 +02:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
2018-02-25 00:32:41 +01:00
|
|
|
jobs:
|
|
|
|
include:
|
2018-04-08 00:43:38 +02:00
|
|
|
- node_js: lts/*
|
|
|
|
script:
|
2018-07-19 19:43:06 +02:00
|
|
|
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then ./scripts/check-pr.sh; fi
|
|
|
|
- npm run all
|
|
|
|
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
|
|
|
|
cd $TRAVIS_BUILD_DIR/tests/allocators/arena && npm run build && cd .. && npm test arena &&
|
|
|
|
cd $TRAVIS_BUILD_DIR/tests/allocators/buddy && npm run build && cd .. && npm test buddy &&
|
|
|
|
cd $TRAVIS_BUILD_DIR/tests/allocators/tlsf && npm run build && cd .. && npm test tlsf;
|
|
|
|
fi
|
2019-02-21 00:11:22 +01:00
|
|
|
env: Runs the tests on node.js LTS, also tests allocators
|
2018-02-25 23:21:32 +01:00
|
|
|
- node_js: node
|
2018-07-19 19:43:06 +02:00
|
|
|
script:
|
|
|
|
- npm run all
|
|
|
|
env: Runs the tests on node.js stable
|
2019-02-28 17:36:22 +01:00
|
|
|
- node_js: node
|
|
|
|
script:
|
|
|
|
- npm run clean && npm run test:compiler
|
|
|
|
env:
|
2019-03-08 14:24:48 +01:00
|
|
|
- Runs experimental tests on node.js v8-canary using
|
|
|
|
- ASC_FEATURES="simd,threads"
|
2019-02-28 17:36:22 +01:00
|
|
|
- NVM_NODEJS_ORG_MIRROR="https://nodejs.org/download/v8-canary/"
|