.travis.yml 743 B

123456789101112131415161718192021222324
  1. sudo: false
  2. language: node_js
  3. node_js:
  4. - "0.10"
  5. - "0.12"
  6. env:
  7. global:
  8. - REMOVE_DEPS=""
  9. matrix:
  10. - "CUSTOM_DEPS=coffee-script@~1.3"
  11. - "CUSTOM_DEPS=coffee-script@~1.5"
  12. - "CUSTOM_DEPS=coffee-script@~1.7"
  13. - "CUSTOM_DEPS=coffee-script@latest"
  14. - "CUSTOM_DEPS=iced-coffee-script@1.6.3-j"
  15. - "CUSTOM_DEPS=iced-coffee-script@latest"
  16. - "CUSTOM_DEPS=LiveScript@1.3.1 REMOVE_DEPS=livescript"
  17. - "CUSTOM_DEPS=typescript-require REMOVE_DEPS=typescript-register"
  18. matrix:
  19. fast_finish: true
  20. before_install:
  21. - "npm install -g npm" # needs the newest version of npm
  22. before_script:
  23. - "[ \"${REMOVE_DEPS}\" == \"\" ] || npm rm $REMOVE_DEPS"
  24. - "npm install $CUSTOM_DEPS" # install a specific version of dependencies