summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2015-03-16 18:52:34 +0100
committerEric Laurent <elaurent@google.com>2015-04-24 13:32:48 -0700
commitc2f3bb23290a99999d8309cc608fa4e7c085be6d (patch)
tree5ece681913f678fc0fec1bdb4abb0b896d001dc7 /.travis.yml
parent053e3cdfdc479e76c8516efd585f9909b249713a (diff)
downloadexternal_parameter-framework-c2f3bb23290a99999d8309cc608fa4e7c085be6d.zip
external_parameter-framework-c2f3bb23290a99999d8309cc608fa4e7c085be6d.tar.gz
external_parameter-framework-c2f3bb23290a99999d8309cc608fa4e7c085be6d.tar.bz2
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 <david.wagner@intel.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files 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 )