Revert "Don't build unit tests for publishing job"
This reverts commit eb0bd378ae
.
This commit is contained in:
parent
9ca3c69b49
commit
c8a7bc1d6a
27
.travis.yml
27
.travis.yml
@ -242,24 +242,23 @@ install:
|
|||||||
-DBUILD_TOOLS=ON \
|
-DBUILD_TOOLS=ON \
|
||||||
-DENABLE_CCACHE=ON \
|
-DENABLE_CCACHE=ON \
|
||||||
-DCMAKE_INSTALL_PREFIX=${OSRM_INSTALL_DIR}
|
-DCMAKE_INSTALL_PREFIX=${OSRM_INSTALL_DIR}
|
||||||
|
- echo "travis_fold:start:MAKE"
|
||||||
- make --jobs=${JOBS}
|
- 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
|
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
||||||
make tests --jobs=${JOBS}
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${OSRM_INSTALL_DIR}/lib
|
||||||
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}
|
|
||||||
fi
|
fi
|
||||||
- popd
|
- 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
|
# building docs only works with npm3+ not with yarn or npm2
|
||||||
#- yarn run docs
|
#- yarn run docs
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user