mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-04 18:26:23 +02:00
Use sudo for make install
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
parent
a6d30fbde7
commit
bd7c751467
24
.travis.yml
24
.travis.yml
@ -45,29 +45,33 @@ matrix:
|
|||||||
compiler: clang
|
compiler: clang
|
||||||
os: osx
|
os: osx
|
||||||
script:
|
script:
|
||||||
- ./configure --everything --omit=Data/ODBC,Data/MySQL,Data/SQLite
|
- ./configure --everything --omit=Data/ODBC,Data/MySQL,Data/SQLite && make -j2
|
||||||
- cat config.*
|
- cat config.*
|
||||||
- make install -j2 && ls -l /usr/local/lib/*Poco*
|
- sudo make install
|
||||||
|
- ls -l /usr/local/lib/*Poco*
|
||||||
- find . -name "*testrunner*"
|
- find . -name "*testrunner*"
|
||||||
- ./travis/runtests.sh
|
- ./travis/runtests.sh
|
||||||
|
|
||||||
- env: TEST_NAME="Linux gcc (make) bundled"
|
- env: TEST_NAME="Linux gcc (make) bundled"
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
script:
|
script:
|
||||||
- ./configure --everything && make install -s -j2 && ls -l /usr/local/lib/*Poco*
|
- ./configure --everything && make -s -j2
|
||||||
|
- sudo make install
|
||||||
- ./travis/runtests.sh
|
- ./travis/runtests.sh
|
||||||
|
|
||||||
- env: TEST_NAME="Linux gcc (make) unbundled"
|
- env: TEST_NAME="Linux gcc (make) unbundled"
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
script:
|
script:
|
||||||
- sudo apt-get install -qq -y libpcre3-dev libssl-dev libexpat1-dev
|
- sudo apt-get install -qq -y libpcre3-dev libssl-dev libexpat1-dev
|
||||||
- ./configure --everything --unbundled && make install -s -j2 && ls -l /usr/local/lib/*Poco*
|
- ./configure --everything --unbundled && make -s -j2
|
||||||
|
- sudo make install
|
||||||
- ./travis/runtests.sh
|
- ./travis/runtests.sh
|
||||||
|
|
||||||
- env: TEST_NAME="Linux clang (make)"
|
- env: TEST_NAME="Linux clang (make)"
|
||||||
compiler: clang
|
compiler: clang
|
||||||
script:
|
script:
|
||||||
- ./configure --everything --config=Linux-clang && make install -s -j2 && ls -l /usr/local/lib/*Poco*
|
- ./configure --everything --config=Linux-clang && make -s -j2
|
||||||
|
- sudo make install
|
||||||
- ./travis/runtests.sh
|
- ./travis/runtests.sh
|
||||||
|
|
||||||
- env: TEST_NAME="Linux arm-linux-gnueabi- (make)"
|
- env: TEST_NAME="Linux arm-linux-gnueabi- (make)"
|
||||||
@ -78,7 +82,7 @@ matrix:
|
|||||||
compiler: gcc
|
compiler: gcc
|
||||||
script:
|
script:
|
||||||
# disable tests, gcc-4.6 gets an internal compiler error
|
# disable tests, gcc-4.6 gets an internal compiler error
|
||||||
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_TESTS=OFF .. && make install -j2 && cd .. && ls -l /usr/local/lib/*Poco*
|
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_TESTS=OFF .. && make -j2 && cd ..
|
||||||
|
|
||||||
- env: TEST_NAME="gcc-4.8 (CMake)"
|
- env: TEST_NAME="gcc-4.8 (CMake)"
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
@ -88,24 +92,24 @@ matrix:
|
|||||||
- sudo apt-get install -qq -y g++-4.8
|
- sudo apt-get install -qq -y g++-4.8
|
||||||
- export CC="gcc-4.8"
|
- export CC="gcc-4.8"
|
||||||
- export CXX="g++-4.8"
|
- export CXX="g++-4.8"
|
||||||
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_TESTS=ON .. && make install -j2 && cd ..
|
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_TESTS=ON .. && make -j2 && cd ..
|
||||||
|
|
||||||
- env: TEST_NAME="Linux clang (CMake)"
|
- env: TEST_NAME="Linux clang (CMake)"
|
||||||
compiler: clang
|
compiler: clang
|
||||||
script:
|
script:
|
||||||
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_TESTS=ON .. && make install -j2 && cd ..
|
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_TESTS=ON .. && make -j2 && cd ..
|
||||||
|
|
||||||
- env: TEST_NAME="Linux arm-linux-gnueabi-g++ (CMake)"
|
- env: TEST_NAME="Linux arm-linux-gnueabi-g++ (CMake)"
|
||||||
script:
|
script:
|
||||||
- export CC="arm-linux-gnueabi-gcc"
|
- export CC="arm-linux-gnueabi-gcc"
|
||||||
- export CXX="arm-linux-gnueabi-g++"
|
- export CXX="arm-linux-gnueabi-g++"
|
||||||
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_TESTS=ON .. && make install -j2 && cd ..
|
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_TESTS=ON .. && make -j2 && cd ..
|
||||||
|
|
||||||
- env: TEST_NAME="Linux arm-linux-gnueabihf-g++ (CMake)"
|
- env: TEST_NAME="Linux arm-linux-gnueabihf-g++ (CMake)"
|
||||||
script:
|
script:
|
||||||
- export CC="arm-linux-gnueabihf-gcc"
|
- export CC="arm-linux-gnueabihf-gcc"
|
||||||
- export CXX="arm-linux-gnueabihf-g++"
|
- export CXX="arm-linux-gnueabihf-g++"
|
||||||
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_TESTS=ON .. && make install -j2 && cd ..
|
- mkdir cmake-build && cd cmake-build && cmake -DENABLE_NETSSL=OFF -DENABLE_CRYPTO=OFF -DENABLE_TESTS=ON .. && make -j2 && cd ..
|
||||||
|
|
||||||
# TODO osx build
|
# TODO osx build
|
||||||
# TODO run test suite
|
# TODO run test suite
|
||||||
|
Loading…
x
Reference in New Issue
Block a user