From: Tomas Babej Date: Sat, 7 Jan 2017 22:09:30 +0000 (+0100) Subject: travis: Speed up and support testing with libshared-dependant builds X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/commitdiff_plain/6d62b489838f0bb48bf17b276349b1e25c1d4f52?ds=sidebyside;hp=-c travis: Speed up and support testing with libshared-dependant builds --- 6d62b489838f0bb48bf17b276349b1e25c1d4f52 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: