.travis.yml 681 B

12345678910111213141516171819202122232425262728293031323334
  1. # This will run on Travis' 'new' container-based infrastructure
  2. dist: trusty
  3. sudo: false
  4. branches:
  5. only:
  6. - master
  7. # Environment variables
  8. env:
  9. global:
  10. - GH_REPO_NAME: TelegramBotPHP
  11. - DOXYFILE: $TRAVIS_BUILD_DIR/Doxyfile
  12. - GH_REPO_REF: github.com/Eleirbag89/TelegramBotPHP.git
  13. # Install dependencies
  14. addons:
  15. apt:
  16. packages:
  17. - doxygen
  18. - doxygen-doc
  19. - doxygen-latex
  20. - doxygen-gui
  21. - graphviz
  22. # Build your code e.g. by calling make
  23. script:
  24. - echo "Setup done"
  25. # Generate and deploy documentation
  26. after_success:
  27. - cd $TRAVIS_BUILD_DIR
  28. - chmod +x generateDocumentationAndDeploy.sh
  29. - ./generateDocumentationAndDeploy.sh