blob: b8e3a2394bb89dcd397b0432156a8c73358613ab [file] [log] [blame]
language: node_js
# Performance optimization
git:
depth: 10
cache:
directories:
- $HOME/.npm
node_js:
- 10
- 12
install:
- npm install
- npm install -g codecov
before_script:
# Ensure that bin script actually runs on used Node.js version
# to detect and avoid bugs such as apache/cordova-cli#339
# (<https://github.com/apache/cordova-cli/issues/339>)
- ./bin/cordova --version
after_script:
- codecov