.travis.yml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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 add-apt-repository ppa:libreoffice/ppa -y
  19. - sudo apt-get update -qq
  20. - sudo apt-get install -qq build-essential subversion git autoconf libtool texinfo
  21. python-lxml graphviz doxygen
  22. - svn checkout https://svn.code.sf.net/p/check/code/trunk check-code
  23. - cd check-code
  24. - autoreconf --install
  25. - ./configure
  26. - make
  27. - sudo make install
  28. - sudo ldconfig
  29. - cd ..
  30. - rm -rf check-code
  31. script: ./autogen.sh && ./configure --enable-doxygen && make && make check
  32. after_success:
  33. - git clone -b gh-pages https://$GITAUTH@github.com/acplt/open62541
  34. - rm -rf open62541/doxygen
  35. - cp -r doc/html open62541/doxygen
  36. - cd open62541/doxygen
  37. - git config --global user.email "open62541-travis-ci@users.noreply.github.com"
  38. - git config --global user.name "Open62541 travis-ci"
  39. - git config --global push.default simple
  40. - git add *
  41. - git commit -am "doxygen updated by travis-ci"
  42. - git push https://$GITAUTH@github.com/acplt/open62541
  43. - cd ..
  44. - cd ..
  45. - rm -rf open62541
  46. - ./.coverity.sh