.travis.yml 550 B

123456789101112131415161718192021222324252627282930313233
  1. sudo: false
  2. env:
  3. - CXX=g++-4.8
  4. addons:
  5. apt:
  6. sources:
  7. - ubuntu-toolchain-r-test
  8. packages:
  9. - g++-4.8
  10. language: node_js
  11. node_js:
  12. - "0.8"
  13. - "0.10"
  14. - "0.12"
  15. - "iojs-v2.5"
  16. - "iojs-v3"
  17. install:
  18. - PATH="`npm bin`:`npm bin -g`:$PATH"
  19. # Node 0.8 comes with a too obsolete npm
  20. - if [[ "`node --version`" =~ ^v0\.8\. ]]; then npm install -g npm@1.4.28 ; fi
  21. # Install dependencies and build
  22. - npm install
  23. script:
  24. # Output useful info for debugging
  25. - node --version
  26. - npm --version
  27. # Run tests
  28. - npm test