diff --git a/.travis.yml b/.travis.yml index b2ff9fdb9..3cc151dd9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,29 +45,33 @@ matrix: compiler: clang os: osx script: - - ./configure --everything --omit=Data/ODBC,Data/MySQL,Data/SQLite + - ./configure --everything --omit=Data/ODBC,Data/MySQL,Data/SQLite && make -j2 - cat config.* - - make install -j2 && ls -l /usr/local/lib/*Poco* + - sudo make install + - ls -l /usr/local/lib/*Poco* - find . -name "*testrunner*" - ./travis/runtests.sh - env: TEST_NAME="Linux gcc (make) bundled" compiler: gcc script: - - ./configure --everything && make install -s -j2 && ls -l /usr/local/lib/*Poco* + - ./configure --everything && make -s -j2 + - sudo make install - ./travis/runtests.sh - env: TEST_NAME="Linux gcc (make) unbundled" compiler: gcc script: - 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 - env: TEST_NAME="Linux clang (make)" compiler: clang 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 - env: TEST_NAME="Linux arm-linux-gnueabi- (make)" @@ -78,7 +82,7 @@ matrix: compiler: gcc script: # 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)" compiler: gcc @@ -88,24 +92,24 @@ matrix: - sudo apt-get install -qq -y g++-4.8 - export CC="gcc-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)" compiler: clang 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)" script: - export CC="arm-linux-gnueabi-gcc" - 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)" script: - export CC="arm-linux-gnueabihf-gcc" - 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 run test suite