Use sudo for installing Poco libs.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2016-03-11 14:25:23 +01:00
parent 0645fa79a2
commit 3efe787a64

View File

@ -62,14 +62,14 @@ matrix:
script:
- export CC="gcc"
- export CXX="g++"
- ./configure --everything && make -s -j2 install && ./travis/Linux/runtests.sh
- ./configure --everything && sudo make -s -j2 install && ./travis/Linux/runtests.sh
- env: TEST_NAME="Linux gcc 4.8 (make) bundled"
compiler: gcc
script:
- export CC="gcc-4.8"
- export CXX="g++-4.8"
- ./configure --everything && make -s -j2 install && ./travis/Linux/runtests.sh
- ./configure --everything && sudo make -s -j2 install && ./travis/Linux/runtests.sh
- env: TEST_NAME="Linux gcc 4.6 (make) unbundled"
compiler: gcc
@ -77,7 +77,7 @@ matrix:
- export CC="gcc"
- export CXX="g++"
- sudo apt-get install -qq -y libpcre3-dev libssl-dev libexpat1-dev
- ./configure --everything --unbundled && make -s -j2 install && ./travis/Linux/runtests.sh
- ./configure --everything --unbundled && sudo make -s -j2 install && ./travis/Linux/runtests.sh
- env: TEST_NAME="Linux gcc 4.8 (make) unbundled"
compiler: gcc
@ -85,17 +85,17 @@ matrix:
- sudo apt-get install -qq -y libpcre3-dev libssl-dev libexpat1-dev
- export CC="gcc-4.8"
- export CXX="g++-4.8"
- ./configure --everything --unbundled && make -s -j2 install && ./travis/Linux/runtests.sh
- ./configure --everything --unbundled && sudo make -s -j2 install && ./travis/Linux/runtests.sh
- env: TEST_NAME="Linux clang 3.4 (make)"
compiler: clang
script:
- ./configure --everything --config=Linux-clang && make -s -j2 install && - ./travis/Linux/runtests.sh
- ./configure --everything --config=Linux-clang && sudo make -s -j2 install && - ./travis/Linux/runtests.sh
#FIXME the -m64 option bring by the Linux config is not supported by arm-linux-gnueabi-g++ which makes this test failing
- env: TEST_NAME="arm-linux-gnueabi- (make)"
script:
- ./configure --omit=Data/ODBC,Data/MySQL,Data/PostgreSQL,Crypto,NetSSL,PageCompiler && make -s -j2 install CROSS_COMPILE=arm-linux-gnueabi- POCO_TARGET_OSARCH=armv7l
- ./configure --omit=Data/ODBC,Data/MySQL,Data/PostgreSQL,Crypto,NetSSL,PageCompiler && sudo make -s -j2 install CROSS_COMPILE=arm-linux-gnueabi- POCO_TARGET_OSARCH=armv7l
- env: TEST_NAME="Linux gcc 4.6 (CMake)"
compiler: gcc
@ -128,8 +128,8 @@ matrix:
- export CXX="arm-linux-gnueabi-g++"
- source ./travis/ignored.sh
- export POCO_BASE=`pwd`
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_TESTS=ON ..
- make -s -j2 install && cd ..
- mkdir cmake-build
- cd cmake-build && cmake -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_TESTS=ON .. && sudo make -s -j2 install && cd ..
- env: TEST_NAME="Linux arm-linux-gnueabihf-g++ (CMake)"
script:
@ -137,8 +137,8 @@ matrix:
- export CXX="arm-linux-gnueabihf-g++"
- source ./travis/ignored.sh
- export POCO_BASE=`pwd`
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_TESTS=ON ..
- make -s -j2 install && cd ..
- mkdir cmake-build
- cd cmake-build && cmake -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_TESTS=ON .. && sudo make -s -j2 install && cd ..
# QA jobs for code analytics and metrics