From c2f3bb23290a99999d8309cc608fa4e7c085be6d Mon Sep 17 00:00:00 2001 From: David Wagner Date: Mon, 16 Mar 2015 18:52:34 +0100 Subject: travis: set the installation prefix to /usr CMake defaults to /usr/local which results in libraries being installed in /usr/local/lib. Unfortunately, this path isn't in the loader's default locations. The canonical installation path is /usr. /usr/local is recommended for stuff not handled by the package manager but in the context of the CI, this isn't relevant. Signed-off-by: David Wagner --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0e954f4..21a3c6a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,16 +19,16 @@ install: # how to build script: - ( mkdir build && cd build && - cmake .. && + cmake -DCMAKE_INSTALL_PREFIX=/usr .. && make -j && sudo make install && CTEST_OUTPUT_ON_FAILURE=1 make test ) - ( cd skeleton-subsystem && - cmake . && + cmake -DCMAKE_INSTALL_PREFIX=/usr . && make && sudo make install ) - ( cd build && - cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON .. && + cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON .. && make -j && sudo make install && CTEST_OUTPUT_ON_FAILURE=1 make ExperimentalTest ExperimentalCoverage ExperimentalMemCheck ) -- cgit v1.1