From 6d62b489838f0bb48bf17b276349b1e25c1d4f52 Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Sat, 7 Jan 2017 23:09:30 +0100 Subject: [PATCH] travis: Speed up and support testing with libshared-dependant builds --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0a373b3..c7e0834 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,12 +25,14 @@ install: - sudo apt-get update -qq - sudo apt-get install -qq build-essential cmake uuid-dev g++-4.8 - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50 - - git clone https://git.tasktools.org/scm/tm/task.git + - git clone --recursive https://git.tasktools.org/scm/tm/task.git - cd task - git checkout $TASK_VERSION - git clean -dfx - - cmake . - - make + - git submodule init + - git submodule update + - cmake -DCMAKE_BUILD_TYPE=release . + - make -j2 - sudo make install - task --version before_script: -- 2.39.5