From 841570bfbc300959fc08fd9b79b62b5c9fbf78b6 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Tue, 23 Aug 2016 13:33:58 +0900 Subject: Drop KCoreAddons part; enable building with CLang besides GCC --- .travis.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index ee3442ce..811cebca 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,14 @@ dist: trusty language: cpp -env: - - INSTALL_KCOREADDONS=true - - INSTALL_KCOREADDONS=false +compiler: + - gcc + - clang 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 + - cmake .. +script: + - cmake --build . --target all -- cgit v1.2.3