8
0

.travis.yml 768 B

1234567891011121314151617181920212223242526272829303132
  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. - npm i -g yarn
  17. install:
  18. - yarn install
  19. script:
  20. - node ./scripts/continuous-integration-run-script.js
  21. - yarn run lint
  22. - yarn run stylelint
  23. - yarn run docs:api --validate-only
  24. - 'if [ $TRAVIS_TEST_RESULT -eq 0 ]; then
  25. travis_wait 30 yarn run docs:build-and-publish-nightly;
  26. fi'
  27. after_script:
  28. - export END_TIME=$( date +%s )
  29. - ckeditor5-dev-tests-notify-travis-status
  30. env:
  31. global:
  32. - secure: RO140EQDHmEOPJPikk8eCY5IdHpnEKGm41p5U1ewAbeZv1DpCG+rSumR2JdYl75kFAaZvCSm1NuVMM+kmYd+/z+LQbKj7QH5G/UHNho3H89blIU6WlJhT0YR5vclm9rvnEvOtxnfODca1Qrw+CaCoJks2o4VYbJB7mOBVNsh7Bc=