diff options
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..26c3e4a8 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +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 5.18.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 + |