travis: Speed up and support testing with libshared-dependant builds

This commit is contained in:
Tomas Babej 2017-01-07 23:12:22 +01:00
parent edaebb9fb4
commit 3ecb997f00

View file

@ -27,12 +27,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
# Setup Gvim