diff options
-rw-r--r-- | .travis.yml | 15 |
1 files 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 |