language: cpp
compiler:
    - clang
    - gcc
before_install:
    - "sudo add-apt-repository ppa:teward/znc -y"
    - "sudo apt-get -qq update"
    - "sudo apt-get install -y znc znc-dev"
script:
    - "make install"
matrix:
    allow_failures:
        - compiler: "clang"

language: cpp
compiler:
    - clang
    - gcc
before_install:
    - "sudo add-apt-repository ppa:teward/znc -y"
    - "sudo apt-get -qq update"
    - "sudo apt-get install -y znc znc-dev libcurl4-openssl-dev"
script:
    - "make install"
    - "make clean"
    - "make curl=yes install"
matrix:
    allow_failures:
        - compiler: gcc

Build with and without libcurl, let gcc build fail
Build with and without libcurl, let gcc build fail
