# Travis CI integration -- https://travis-ci.org/troglobit/libuev
# Defaults to GNU GCC and autotools: ./configure && make && make test
language: c

# Use docker for quicker builds, it now allows https://docs.travis-ci.com/user/apt/
sudo: false

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: "ikQcWMCLFoxq0+wMiqrNT5HRn0d4e3AxuF8VzNUNFrk6jUvHIufC/OKvr8VWPTjCaAQXZjWfdQAAARUXzJV10WZ7xpiv5qt4bt26Qih2AwMPMJeUOYrqXgQqhTPBp05iLYpo4ybICteXRI3zKKUA1wkdDC0jyu3rl+Fbveekbe0="

addons:
  coverity_scan:
    project:
      name: "troglobit/libuev"
      description: "libuEv | Simple event loop for Linux"
    notification_email: troglobit@gmail.com
    build_command_prepend: "./autogen && ./configure"
    build_command: "make clean all"
    branch_pattern: dev

script:
  - ./autogen.sh
  - ./configure --disable-silent-rules
  - make clean
  - make -j5
  - make check

# Travis CI integration -- https://travis-ci.org/troglobit/libuev
# Defaults to GNU GCC and autotools: ./configure && make && make test
language: c

# Use docker for quicker builds, it now allows https://docs.travis-ci.com/user/apt/
sudo: false

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: "ikQcWMCLFoxq0+wMiqrNT5HRn0d4e3AxuF8VzNUNFrk6jUvHIufC/OKvr8VWPTjCaAQXZjWfdQAAARUXzJV10WZ7xpiv5qt4bt26Qih2AwMPMJeUOYrqXgQqhTPBp05iLYpo4ybICteXRI3zKKUA1wkdDC0jyu3rl+Fbveekbe0="

addons:
  coverity_scan:
    project:
      name: "troglobit/libuev"
      description: "libuEv | Simple event loop for Linux"
    notification_email: troglobit@gmail.com
    build_command_prepend: "./autogen && ./configure --enable-examples"
    build_command: "make clean all"
    branch_pattern: dev

script:
  - ./autogen.sh
  - ./configure --disable-silent-rules --enable-examples
  - make clean
  - make -j5
  - make check

Enable examples in both regular and Coverity runs
Travis-CI: Enable examples in both regular and Coverity runs

Signed-off-by: Joachim Nilsson <583c295fd7602c168ad814279bbc3894ba65f5d6@gmail.com>
