From 879662932e4d51013193180eb330af731456761a Mon Sep 17 00:00:00 2001 From: Felix Rohrbach Date: Fri, 3 Jun 2016 01:19:27 +0200 Subject: First test with travis --- .travis.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .travis.yml (limited to '.travis.yml') 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 + -- cgit v1.2.3 From 9677930a4f2d94cd40315a17a3b9e1c09f9957ef Mon Sep 17 00:00:00 2001 From: Felix Rohrbach Date: Fri, 3 Jun 2016 01:23:15 +0200 Subject: Next test --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 26c3e4a8..85f554a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ env: 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/extra-cmake-modules.git ecm && cd ecm && git checkout v5.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 -- cgit v1.2.3 From ddb04c4320b56626e6449ed6ba5261457ccab6a1 Mon Sep 17 00:00:00 2001 From: Felix Rohrbach Date: Fri, 3 Jun 2016 01:26:43 +0200 Subject: Bump version of ecm --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 85f554a1..ee3442ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ env: 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.18.0 && cmake . && make && sudo make install && cd ..; fi + - 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 -- cgit v1.2.3 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(-) (limited to '.travis.yml') 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