.travis.yml 316 B

123456789101112
  1. language: node_js
  2. node_js:
  3. - "0.10"
  4. - "0.12"
  5. - "node"
  6. env:
  7. - FORMDATA_VERSION=1.0.0
  8. - FORMDATA_VERSION=2.1.0
  9. before_script:
  10. - 'if [ "$FORMDATA_VERSION" ]; then npm install form-data@^$FORMDATA_VERSION; fi'
  11. before_install: if [[ `npm -v` < 3 ]]; then npm install -g npm@1.4.28; fi
  12. script: npm run coverage