dist: trusty
language: cpp
env:
 - INSTALL_KCOREADDONS=true
 - INSTALL_KCOREADDONS=false
before_install:
 - sudo apt-get update -qq
 - sudo apt-get install -y qt5-default
 - if [ "$INSTALL_KCOREADDONS" = true ]; then git clone git://anongit.kde.org/extra-cmake-modules.git ecm && cd ecm && git checkout v5.20.0 && cmake . && make && sudo make install && cd ..; fi
 - if [ "$INSTALL_KCOREADDONS" = true ]; then git clone git://anongit.kde.org/kcoreaddons.git kca && cd kca && git checkout 7ac7a605923f0bb2f0f367f6069a101a24bead9f && cmake . && make && sudo make install && cd ..; fi
install:
 - git submodule update --init --recursive
 - mkdir build && cd build
 - cmake ../
 - make
script: true


dist: trusty
language: cpp
compiler:
 - gcc
 - clang
before_install:
 - sudo apt-get update -qq
 - sudo apt-get install -y qt5-default
install:
 - mkdir build && cd build
 - cmake ..
script:
 - cmake --build . --target all


Drop KCoreAddons part; enable building with CLang besides GCC
Drop KCoreAddons part; enable building with CLang besides GCC
