Adding caching support in travis-ci builds

This commit is contained in:
Luis Díaz Más
2017-10-04 19:55:23 +02:00
committed by Luis Diaz Mas
parent 4beb08e219
commit 1067978216
3 changed files with 8 additions and 3 deletions
+6
View File
@@ -24,3 +24,9 @@ env:
install: ./.travis/install.sh
script: ./.travis/run.sh
cache:
ccache: true
directories:
- conan # Conan installation folder
- $HOME/.conan # Conan configuration and packages
+1 -1
View File
@@ -4,7 +4,7 @@ set -x
if [[ "$(uname -s)" == 'Linux' ]]; then
sudo apt-get install cmake zlib1g-dev libssh-dev libcurl4-openssl-dev gettext libexpat1-dev
sudo apt-get install python-pip
sudo apt-get install python-pip libxml2-utils
sudo pip install virtualenv
else
brew update
+1 -2
View File
@@ -6,8 +6,7 @@ set -x
source conan/bin/activate
mkdir build && cd build
conan install .. --build missing --profile release
cmake ${CMAKE_OPTIONS} ..
cmake -DCMAKE_INSTALL_PREFIX=install ..
cmake ${CMAKE_OPTIONS} -DCMAKE_INSTALL_PREFIX=install ..
make -j
make tests
make install