language: node_js
node_js:
- "5"
script: npm run $COMMAND
before_script:
- "npm run lint"
env:
matrix:
- COMMAND=test
- COMMAND=test-phantom
- COMMAND=coverage
- COMMAND=report-coverage
branches:
only:
- master