.travis.yml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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: null@plt.rwth-aachen.de
  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. - sudo pip install cpp-coveralls
  32. script:
  33. - ./autogen.sh
  34. - ./configure
  35. - echo "Production build + checks"
  36. - make && make check && make clean
  37. - echo "Extended debug build + checks + coverage + doxygen"
  38. - ./configure --enable-debug --enable-coverage --enable-doxygen
  39. - make all && make check
  40. after_success:
  41. - git clone --depth=50 -b gh-pages https://$GITAUTH@github.com/acplt/open62541
  42. - rm -rf open62541/doxygen
  43. - cp -r doc/html open62541/doxygen
  44. - cd open62541/doxygen
  45. - git config --global user.email "open62541-travis-ci@users.noreply.github.com"
  46. - git config --global user.name "Open62541 travis-ci"
  47. - git config --global push.default simple
  48. - git add *
  49. - git commit -am "doxygen updated by travis-ci"
  50. - git push https://$GITAUTH@github.com/acplt/open62541
  51. - cd ..
  52. - cd ..
  53. - rm -rf open62541
  54. - ./tools/.coverity.sh
  55. - coveralls -b src --exclude doc --exclude examples --exclude tests --exclude wrappers --exclude src/.libs --exclude src/util/.libs -E '.*\.h'