in-folder
Version:
Temporarily change directories to run a callback
22 lines • 588 B
YAML
language: node_js
node_js:
- "6.10"
- "7.7"
matrix:
include:
- node_js: "8.0"
env: "NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly"
allow_failures:
# Allow the nightly installs to fail
- env: "NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly"
sudo: false
cache:
directories:
- node_modules
before_install:
# Remove all non-test dependencies
# Update Node.js modules
- "test ! -d node_modules || npm prune"
- "test ! -d node_modules || npm rebuild"
script: "yarn run coverage"
after_script: "cat ./coverage/lcov.info | coveralls"