language: c
compiler:
  - gcc
  - clang
os:
  - linux
  - osx
branches:
  only:
    - master
script: cmake . && make


language: c
compiler:
  - gcc
  - clang
os:
  - linux
  - osx
branches:
  only:
    - master
script: cmake . && make

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"
      description: "Build submitted via Travis CI"
    notification_email: rkrejci@cesnet.cz
    build_command_prepend: "cmake .; make clean"
    build_command:   "make -j 1"
    branch_pattern: master


BUILD use Travis to push builds to coverity
BUILD use Travis to push builds to coverity
