.travis.yml 926 B

123456789101112131415161718192021222324252627282930313233343536
  1. language: node_js
  2. sudo: false
  3. node_js:
  4. - "4"
  5. env:
  6. global:
  7. - SAUCE_USERNAME=mgcrea
  8. - SAUCE_ACCESS_KEY=ad4bb656-dfad-4a10-8c10-0a0d8b5a1ead
  9. - CODE_CLIMATE_TOKEN=b5ed978a0e88f95b003a668583ae70815e18cd71019d526023b5e9c7703ec076
  10. before_script:
  11. - export DISPLAY=:99.0
  12. - export CHROME_BIN=chromium-browser
  13. - sh -e /etc/init.d/xvfb start
  14. - sleep 3 # give xvfb some time to start
  15. - npm install -gq bower codeclimate-test-reporter # coveralls
  16. - bower install --dev --config.interactive=0
  17. - gulp --version
  18. - bower --version
  19. - date --rfc-2822
  20. script:
  21. - npm run lint
  22. - $(npm bin)/gulp karma:travis
  23. - $(npm bin)/gulp karma:travis~1.4.0
  24. - $(npm bin)/gulp karma:travis~1.3.0
  25. - $(npm bin)/gulp karma:travis~1.2.0
  26. after_script:
  27. - cat test/coverage/*/lcov.info | codeclimate-test-reporter
  28. addons:
  29. code_climate:
  30. repo_token: b5ed978a0e88f95b003a668583ae70815e18cd71019d526023b5e9c7703ec076