8
0

.travis.yml 725 B

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