mirror of
https://github.com/mapbox/node-fontnik.git
synced 2026-01-18 15:54:55 +00:00
NODE_VERSION as string, not number source nvm, nvm use NODE_VERSION in all scripts bump deps in package.json, drop faucet, add mkdirp
14 lines
281 B
Bash
Executable File
14 lines
281 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
source ~/.nvm/nvm.sh
|
|
nvm use ${NODE_VERSION}
|
|
|
|
npm test
|
|
|
|
if [[ ${COVERAGE} == true ]]; then
|
|
cpp-coveralls --exclude node_modules --exclude tests --build-root build --gcov-options '\-lp' --exclude doc --exclude build/Debug/obj/gen
|
|
fi
|