From c8a7bc1d6ace355e9d4c5c98c3310afcd24340c2 Mon Sep 17 00:00:00 2001 From: Patrick Niklaus Date: Sun, 9 Apr 2017 11:17:28 +0000 Subject: [PATCH] Revert "Don't build unit tests for publishing job" This reverts commit eb0bd378ae8e9c706153519dfc09c2dba3f75250. --- .travis.yml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 24f5d23a0..480ff7b2b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -242,24 +242,23 @@ install: -DBUILD_TOOLS=ON \ -DENABLE_CCACHE=ON \ -DCMAKE_INSTALL_PREFIX=${OSRM_INSTALL_DIR} + - echo "travis_fold:start:MAKE" - make --jobs=${JOBS} + - make tests --jobs=${JOBS} + - make benchmarks --jobs=${JOBS} + - echo "travis_fold:end:MAKE" + - ccache -s + - sudo make install - | - if [ -z "${PUBLISH_NODE_BINDINGS}" ]; then - make tests --jobs=${JOBS} - make benchmarks --jobs=${JOBS} - ccache -s - sudo make install - | - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${OSRM_INSTALL_DIR}/lib - fi - popd - mkdir example/build && pushd example/build - export PKG_CONFIG_PATH=${OSRM_INSTALL_DIR}/lib/pkgconfig - cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} - make --jobs=${JOBS} + if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then + export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${OSRM_INSTALL_DIR}/lib fi - popd + - mkdir example/build && pushd example/build + - export PKG_CONFIG_PATH=${OSRM_INSTALL_DIR}/lib/pkgconfig + - cmake .. -DCMAKE_BUILD_TYPE=${BUILD_TYPE} + - make --jobs=${JOBS} + - popd # building docs only works with npm3+ not with yarn or npm2 #- yarn run docs