.travis.yml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. language: c
  2. compiler:
  3. - gcc
  4. env:
  5. global:
  6. #this is the encrypted GITAUTH
  7. - secure: "nSunY54Wp5HkQCHHbKwlwpbaKyqRVIu/0EnhaoJSwhM1wqerQV/E5d/2JelO9/tZgbungAO7wk/fjutRMVc7d378RTIPwS8vHpvZfEoGhCFsLoTOlqESzsZFBup2H5t1lpQ23jRHDOxlLdJy2lz5U+zd1YnYgDXqdDFjegsIYdo="
  8. # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
  9. - secure: "ehswgymGXPM3UINhOOnfSByMnrRNTixeT2vEV+z3kXy3WHew/O1yt9GxaYGrUhJPg4+5chAQgjYmezO1x3/CUKFgeHQUmVTFWEzfy1kL1JVjO+ufYyJDnbY+x3OmyNmMYcef2J5MAuUS2C1KFvIxtLsljVK+gpe4LcylkCIF/3Y="
  10. addons:
  11. # coverity_scan:
  12. # project:
  13. # name: acplt/open62541
  14. # description: Open-source OPC UA
  15. # notification_email: null@plt.rwth-aachen.de
  16. # build_command_prepend: ./autogen.sh && ./configure
  17. # build_command: make
  18. # branch_pattern: coverity_scan
  19. before_install:
  20. - sudo apt-get update -qq
  21. - sudo apt-get install -qq build-essential cmake python-lxml graphviz doxygen check
  22. - sudo pip install cpp-coveralls
  23. script:
  24. - mkdir build
  25. - cd build
  26. - cmake ..
  27. - make
  28. # - echo "Production build + checks"
  29. # - make && make check && make clean
  30. # - echo "Extended debug build + checks + coverage + doxygen"
  31. # - ./configure --enable-debug --enable-coverage --enable-doxygen
  32. # - make all && make check
  33. after_success:
  34. # - git clone --depth=50 -b gh-pages https://$GITAUTH@github.com/acplt/open62541
  35. # - rm -rf open62541/doxygen
  36. # - cp -r doc/html open62541/doxygen
  37. # - cd open62541/doxygen
  38. # - git config --global user.email "open62541-travis-ci@users.noreply.github.com"
  39. # - git config --global user.name "Open62541 travis-ci"
  40. # - git config --global push.default simple
  41. # - git add *
  42. # - git commit -am "doxygen updated by travis-ci"
  43. # - git push https://$GITAUTH@github.com/acplt/open62541
  44. # - cd ..
  45. # - cd ..
  46. # - rm -rf open62541
  47. # - ./tools/.coverity.sh
  48. # - coveralls -b src --exclude doc --exclude examples --exclude tests --exclude wrappers --exclude src/.libs --exclude src/util/.libs -E '.*\.h'