language: node_js
node_js:
  - "0.10"
  - "0.12"
  - "node"
env:
  - FORMDATA_VERSION=1.0.0
  - FORMDATA_VERSION=2.1.0
before_script:
  - 'if [ "$FORMDATA_VERSION" ]; then npm install form-data@^$FORMDATA_VERSION; fi'
before_install: npm install -g npm
script: npm run coverage