.travis.yml 617 B

123456789101112131415161718192021222324252627282930313233343536
  1. language: node_js
  2. node_js:
  3. - "0.10"
  4. - "0.12"
  5. - "4"
  6. - "6"
  7. - "8"
  8. sudo: false
  9. # use g++-4.8 for karma
  10. cache:
  11. - apt
  12. addons:
  13. apt:
  14. sources:
  15. - ubuntu-toolchain-r-test
  16. packages:
  17. - g++-4.8
  18. - libstdc++-4.8-dev
  19. firefox: "39.0"
  20. before_install:
  21. - export CXX="g++-4.8" CC="gcc-4.8"
  22. - export "PATH=./node_modules/.bin:$PATH"
  23. install: npm install
  24. # start X server for firefox
  25. before_script:
  26. - "export DISPLAY=:99.0"
  27. - "sh -e /etc/init.d/xvfb start"
  28. - sleep 3 # give xvfb some time to start
  29. script:
  30. - gulp lint
  31. - gulp dist
  32. - gulp test karma
  33. after_success:
  34. - gulp coveralls