.travis.yml 434 B

1234567891011121314151617181920212223242526
  1. sudo: false
  2. language: node_js
  3. node_js:
  4. - "1"
  5. - "2"
  6. - "3.2"
  7. - "4"
  8. - "5"
  9. - "6"
  10. - "7"
  11. install:
  12. - PATH="`npm bin`:`npm bin -g`:$PATH"
  13. # Node 0.8 comes with a too obsolete npm
  14. - if [[ "`node --version`" =~ ^v0\.8\. ]]; then npm install -g npm@1.4.28 ; fi
  15. # Install dependencies and build
  16. - npm install
  17. script:
  18. # Output useful info for debugging
  19. - node --version
  20. - npm --version
  21. # Run tests
  22. - npm test