.travis.yml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. language: c
  2. compiler:
  3. - gcc
  4. env:
  5. global:
  6. - secure: "nSunY54Wp5HkQCHHbKwlwpbaKyqRVIu/0EnhaoJSwhM1wqerQV/E5d/2JelO9/tZgbungAO7wk/fjutRMVc7d378RTIPwS8vHpvZfEoGhCFsLoTOlqESzsZFBup2H5t1lpQ23jRHDOxlLdJy2lz5U+zd1YnYgDXqdDFjegsIYdo="
  7. addons:
  8. coverity_scan:
  9. project:
  10. name: acplt/open62541
  11. description: Open-source OPC UA
  12. notification_email: null@plt.rwth-aachen.de
  13. build_command_prepend: ./autogen.sh && ./configure
  14. build_command: make
  15. branch_pattern: coverity_scan
  16. before_install:
  17. - sudo add-apt-repository ppa:libreoffice/ppa -y
  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. - sudo pip install cpp-coveralls
  31. script:
  32. - ./autogen.sh
  33. - ./configure
  34. - echo "Production build + checks"
  35. - make && make check && make clean
  36. - echo "Extended debug build + checks + coverage + doxygen"
  37. - ./configure --enable-debug --enable-coverage --enable-doxygen
  38. - make all && make check
  39. after_success:
  40. - git clone --depth=50 -b gh-pages https://$GITAUTH@github.com/acplt/open62541
  41. - rm -rf open62541/doxygen
  42. - cp -r doc/html open62541/doxygen
  43. - cd open62541/doxygen
  44. - git config --global user.email "open62541-travis-ci@users.noreply.github.com"
  45. - git config --global user.name "Open62541 travis-ci"
  46. - git config --global push.default simple
  47. - git add *
  48. - git commit -am "doxygen updated by travis-ci"
  49. - git push https://$GITAUTH@github.com/acplt/open62541
  50. - cd ..
  51. - cd ..
  52. - rm -rf open62541
  53. - ./tools/.coverity.sh
  54. - coveralls -b src --exclude doc --exclude examples --exclude tests --exclude wrappers --exclude src/.libs --exclude src/util/.libs -E '.*\.h'