Merge pull request #111 from piponazo/travisCache

Travis cache
v0.27.3
Luis Díaz Más 8 years ago committed by GitHub
commit 0670b35f56

@ -24,3 +24,9 @@ env:
install: ./.travis/install.sh install: ./.travis/install.sh
script: ./.travis/run.sh script: ./.travis/run.sh
cache:
ccache: true
directories:
- conan # Conan installation folder
- $HOME/.conan # Conan configuration and packages

@ -1,10 +1,10 @@
#!/bin/bash #!/bin/bash
set -e #set -e
set -x #set -x
if [[ "$(uname -s)" == 'Linux' ]]; then if [[ "$(uname -s)" == 'Linux' ]]; then
sudo apt-get install cmake zlib1g-dev libssh-dev libcurl4-openssl-dev gettext libexpat1-dev 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 sudo pip install virtualenv
else else
brew update brew update

@ -6,8 +6,7 @@ set -x
source conan/bin/activate source conan/bin/activate
mkdir build && cd build mkdir build && cd build
conan install .. --build missing --profile release conan install .. --build missing --profile release
cmake ${CMAKE_OPTIONS} .. cmake ${CMAKE_OPTIONS} -DCMAKE_INSTALL_PREFIX=install ..
cmake -DCMAKE_INSTALL_PREFIX=install ..
make -j make -j
make tests make tests
make install make install

Loading…
Cancel
Save