.travis.yml 448 B

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