.travis.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. language: c
  2. compiler:
  3. - gcc
  4. env:
  5. global:
  6. - secure: AgDJV7/ubjxZFcxuOlkOizWyo0VLve9Pdh5Xz+3Ec37SeYotfUWAupwMZdMXZdKiDyHkAo1R0GdHgpkJ+Tm12o8WdsxZvTi0JdNtXObrYstNnzleuzf9fTsaY74wRDC2Q2URhBrR+oNcD19Lp6mpoCk6asDBhn2+6CP+dLBtKOE=
  7. - secure: Tp53B4vuTKhpMsyAFr5zIHzWtD9XoeLS4CzW3bSgUpuzdHUD+SVunwnjileleKzLY6Iqf3v02NK/TqGDNpehdlWGQf9TgSLSqG0GMohLUaipuVj6HS6LD0vAgU+3U1TdBfvDelDIppqK2CCph2g5Vtw0OXvopw6HQdXeBDSOUKE=
  8. addons:
  9. coverity_scan:
  10. project:
  11. name: acplt/open62541
  12. description: Open-source OPC UA
  13. notification_email:
  14. build_command_prepend: ./autogen.sh && ./configure
  15. build_command: make
  16. branch_pattern: coverity_scan
  17. before_install:
  18. - sudo apt-get update -qq
  19. - sudo apt-get install -qq build-essential subversion git autoconf libtool texinfo
  20. python-lxml graphviz doxygen
  21. - svn checkout https://svn.code.sf.net/p/check/code/trunk check-code
  22. - cd check-code
  23. - autoreconf --install
  24. - ./configure
  25. - make
  26. - sudo make install
  27. - sudo ldconfig
  28. - cd ..
  29. - rm -rf check-code
  30. script: ./autogen.sh && ./configure --enable-doxygen && make && make check
  31. after_success:
  32. - git clone -b gh-pages https://$GITAUTH@github.com/acplt/open62541
  33. - rm -rf open62541/doxygen
  34. - cp -r doc/html open62541/doxygen
  35. - cd open62541/doxygen
  36. - git config --global user.email "open62541-travis-ci@users.noreply.github.com"
  37. - git config --global user.name "Open62541 travis-ci"
  38. - git config --global push.default simple
  39. - git add *
  40. - git commit -am "doxygen updated by travis-ci"
  41. - git push https://$GITAUTH@github.com/acplt/open62541
  42. - cd ..
  43. - cd ..
  44. - rm -rf open62541
  45. - ./.coverity.sh