gc-stats
Version:
Exposes node v8 garbage collection stats
40 lines (32 loc) • 825 B
YAML
language: node_js
node_js:
- '14'
- '16'
- '18'
- '20'
env:
matrix:
- CXX=g++-4.8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- if echo "$TRAVIS_COMMIT_MESSAGE" | grep -F -q "[skip travis]" ; then echo "[skip
travis] has been found, exiting" && exit 0 ; else echo "[skip travis] has not been
found, continuing" ; fi
- export PATH=./node_modules/.bin/:$PATH
install:
- npm install --build-from-source
- npm test
before_script:
- npm run clean
script:
- INSTALL_RESULT=0
- if [[ $PUBLISH_BINARY == true ]]; then INSTALL_RESULT=$(npm install --fallback-to-build=false > /dev/null)$? || true; fi;
- if [[ $INSTALL_RESULT != 0 ]]; then echo "returned $INSTALL_RESULT";node-pre-gyp unpublish;false; fi
- node-pre-gyp clean
after_success:
- node-pre-gyp info