.travis.yml 583 B

123456789101112131415161718192021222324252627282930313233343536
  1. sudo: required
  2. os:
  3. - linux
  4. - osx
  5. dist: trusty
  6. osx_image: xcode8
  7. language: node_js
  8. node_js:
  9. - '4'
  10. - '6'
  11. - '8'
  12. - '9'
  13. matrix:
  14. allow_failures:
  15. - node_js: '9'
  16. cache:
  17. - apt: true
  18. - directories:
  19. - "node_modules"
  20. - "$HOME/.electron"
  21. before_install: test/ci/before_install.sh
  22. install:
  23. - npm install
  24. - npm update
  25. before_script: test/ci/_before_script.js
  26. after_success: npm run codecov
  27. branches:
  28. only:
  29. - master
  30. - /^v\d+\.\d+\.\d+/
  31. env:
  32. global:
  33. # prevent wine popup dialogs about installing additional packages
  34. - WINEDLLOVERRIDES="mscoree,mshtml="
  35. - WINEDEBUG="-all"