.travis.yml 875 B

12345678910111213141516171819202122232425262728293031323334
  1. sudo: required
  2. dist: xenial
  3. addons:
  4. chrome: stable
  5. language: node_js
  6. services:
  7. - xvfb
  8. cache:
  9. yarn: true
  10. node_js:
  11. - "10"
  12. cache:
  13. - node_modules
  14. before_install:
  15. - export START_TIME=$( date +%s )
  16. - export COVERALLS_SERVICE_JOB_ID=$( TRAVIS_JOB_ID )
  17. - export COVERALLS_SERVICE_NAME="CKEditor5 code coverage"
  18. - npm i -g yarn
  19. install:
  20. - yarn install
  21. script:
  22. - node ./scripts/continuous-integration-script.js
  23. - yarn run lint
  24. - yarn run stylelint
  25. - yarn run docs:api --validate-only
  26. - 'if [ $TRAVIS_TEST_RESULT -eq 0 ]; then
  27. travis_wait 30 yarn run docs:build-and-publish-nightly;
  28. fi'
  29. after_script:
  30. - export END_TIME=$( date +%s )
  31. - ckeditor5-dev-tests-notify-travis-status
  32. env:
  33. global:
  34. - secure: RO140EQDHmEOPJPikk8eCY5IdHpnEKGm41p5U1ewAbeZv1DpCG+rSumR2JdYl75kFAaZvCSm1NuVMM+kmYd+/z+LQbKj7QH5G/UHNho3H89blIU6WlJhT0YR5vclm9rvnEvOtxnfODca1Qrw+CaCoJks2o4VYbJB7mOBVNsh7Bc=