blob: c5c56a0cf15b70fbdf09e8303687a59971041cef [file] [log] [blame]
sudo: false
language: node_js
node_js:
- "1"
- "2"
- "3.2"
- "4"
- "5"
- "6"
- "7"
install:
- PATH="`npm bin`:`npm bin -g`:$PATH"
# Node 0.8 comes with a too obsolete npm
- if [[ "`node --version`" =~ ^v0\.8\. ]]; then npm install -g npm@1.4.28 ; fi
# Install dependencies and build
- npm install
script:
# Output useful info for debugging
- node --version
- npm --version
# Run tests
- npm test