assemblyscript/.travis.yml

32 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2017-12-02 20:58:39 +01:00
language: node_js
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
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:
- 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
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:
- 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/"