.travis.yml 472 B

123456789101112131415161718192021222324252627282930
  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. - "6"
  13. - "7"
  14. - "8"
  15. install:
  16. - PATH="`npm bin`:`npm bin -g`:$PATH"
  17. # Node 0.8 comes with a too obsolete npm
  18. - if [[ "`node --version`" =~ ^v0\.8\. ]]; then npm install -g npm@1.4.28 ; fi
  19. # Install dependencies and build
  20. - npm install
  21. script:
  22. # Output useful info for debugging
  23. - node --version
  24. - npm --version
  25. # Run tests
  26. - npm test