Modified Travis to build libconfig from sources

This commit is contained in:
Maxim Biro 2013-07-30 14:24:26 -04:00
parent 2d31136994
commit 010adbe0ac

View File

@ -11,12 +11,16 @@ before_script:
- ./autogen.sh - ./autogen.sh
- ./configure && make check -j3 - ./configure && make check -j3
- sudo make install - sudo make install
- sudo ldconfig
- cd .. - cd ..
# installing libconfig, needed for DHT_bootstrap_daemon # installing libconfig, needed for DHT_bootstrap_daemon
- sudo sed -i 's/precise/quantal/' /etc/apt/sources.list # needed for libconfig-dev - wget http://www.hyperrealm.com/libconfig/libconfig-1.4.9.tar.gz
- sudo apt-get update -qq - tar -xvzf libconfig-1.4.9.tar.gz
- yes | sudo apt-get install libconfig-dev - cd libconfig-1.4.9
- ./configure && make -j3
- sudo make install
- cd ..
# creating librarys' links and updating cache
- sudo ldconfig
script: script:
- mkdir build && cd build - mkdir build && cd build