.travis.yml 980 B

123456789101112131415161718192021222324252627282930313233
  1. sudo: required
  2. dist: trusty
  3. addons:
  4. apt:
  5. sources:
  6. - google-chrome
  7. packages:
  8. - google-chrome-stable
  9. language: node_js
  10. node_js:
  11. - "6"
  12. cache:
  13. - node_modules
  14. before_install:
  15. - export DISPLAY=:99.0
  16. - sh -e /etc/init.d/xvfb start
  17. install:
  18. - npm install mgit2 lerna gulp @ckeditor/ckeditor5-dev-tests @ckeditor/ckeditor5-dev-docs
  19. - mgit bootstrap --resolver-url-template="https://github.com/\${ path }.git"
  20. - lerna bootstrap
  21. script:
  22. - npm t
  23. # Temporarily disable API docs validation until https://github.com/ckeditor/ckeditor5-dev/issues/229 is resolved.
  24. # - gulp docs:api --validate-only
  25. after_success:
  26. - ./node_modules/.bin/ckeditor5-dev-docs
  27. notifications:
  28. slack:
  29. rooms:
  30. - secure: NKUpSnmkmlRRua0URoQJjEqNfIHx6tuqJhVCbQ6vU5rdUdw6A43OfG7Qym3MRQlXymFuIF0MUsOrS6t0GeXE9hSpC+5ynF02E5wdTD1/R7Tjq0XEdx0mXJTYjuOQA16fvwMxm5p3Ub5uWpSH+gBtyG86UPCbVSxDvvmxHqResAw=
  31. on_success: change
  32. on_failure: always
  33. on_pull_requests: false