| language: c |
| |
| compiler: |
| - clang |
| |
| os: |
| - linux |
| |
| branches: |
| only: |
| - master |
| - devel |
| - coverity |
| |
| before_install: |
| - wget https://cmocka.org/files/1.0/cmocka-1.0.1.tar.xz |
| - tar -xJvf cmocka-1.0.1.tar.xz |
| - cd cmocka-1.0.1 && mkdir build && cd build |
| - cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr .. |
| - sudo make install |
| - cd ../.. |
| |
| env: |
| global: |
| # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created |
| # via the "travis encrypt" command using the project repo's public key |
| - secure: "dOIHA+29WzdS1GPm2A/2osTIm4GAGP+OCP/CoYN8gZ4W9yxHKY+noJevDtPw+KDQ5wgBKEcqPnLA1gVI6PeRLdxjHpWULzaH9GZsjktK2YNJJkO2kw2tBrXp09ak4jczokaYcdOM1pfXFbTPYRpDHyd4nS8QvFM4nev7xg87zvU=" |
| |
| addons: |
| coverity_scan: |
| project: |
| name: "CESNET/libyang" |
| notification_email: rkrejci@cesnet.cz |
| build_command_prepend: "cmake .; make clean" |
| build_command: "make" |
| branch_pattern: coverity |
| |
| script: cmake . && make && make test |
| |