summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2015-03-17 16:47:26 +0100
committerEric Laurent <elaurent@google.com>2015-04-24 13:39:11 -0700
commit0bc363e6b3760abc2c9a500b6de1f4d32889d9e7 (patch)
tree7d7b75dd996f06cbd27d17ab6c3f13d524639ba0
parent0fe8b7d6edc1b27c71c8317d2b816534db7a8637 (diff)
downloadexternal_parameter-framework-0bc363e6b3760abc2c9a500b6de1f4d32889d9e7.zip
external_parameter-framework-0bc363e6b3760abc2c9a500b6de1f4d32889d9e7.tar.gz
external_parameter-framework-0bc363e6b3760abc2c9a500b6de1f4d32889d9e7.tar.bz2
travis: run 'ldconfig' after 'sudo make install'
In 327b1a48e2fe539c0ca5414ce9c98b2405536a09 we changed the installation prefix to /usr because we witnessed errors during unit tests using the python bindings. We initially thought that /usr/local/lib wasn't in the loader's default paths but it turns out it is. In fact, it only is the loader's cache that was outdated and needed to be regenerated. That's what ldconfig does. Signed-off-by: David Wagner <david.wagner@intel.com>
-rw-r--r--.travis.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 4ec4a2c..1f0e1c8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,18 +21,21 @@ install:
# how to build
script:
- ( mkdir build && cd build &&
- cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
+ cmake .. &&
make -j &&
sudo make install &&
+ sudo ldconfig &&
CTEST_OUTPUT_ON_FAILURE=1 make test )
- ( cd skeleton-subsystem &&
- cmake -DCMAKE_INSTALL_PREFIX=/usr . &&
+ cmake . &&
make &&
- sudo make install )
+ sudo make install &&
+ sudo ldconfig )
- ( cd build &&
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON .. &&
+ cmake -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON .. &&
make -j &&
sudo make install &&
+ sudo ldconfig &&
CTEST_OUTPUT_ON_FAILURE=1 make ExperimentalTest ExperimentalCoverage ExperimentalMemCheck )
notifications: