Skip to content
Permalink
Browse files

travis: Add boost path config

And disable unity builds for travis.

[skip appveyor]
  • Loading branch information...
lazyfrosch committed Apr 1, 2019
1 parent e4a3b64 commit ebf9f9d9f598341d29ada6e36a14f510560da307
Showing with 12 additions and 1 deletion.
  1. +12 −1 .travis.yml
@@ -19,9 +19,20 @@ addons:
- libmysqlclient-dev
- libedit-dev
before_script:
- arch=$(uname -m)
- mkdir build
- cd build
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/tmp/icinga2 -DICINGA2_PLUGINDIR=/tmp/icinga2/sbin
- >
cmake ..
-DCMAKE_BUILD_TYPE=Debug
-DICINGA2_UNITY_BUILD=Off
-DCMAKE_INSTALL_PREFIX=/tmp/icinga2
-DICINGA2_PLUGINDIR=/tmp/icinga2/sbin
-DBoost_NO_BOOST_CMAKE=TRUE
-DBoost_NO_SYSTEM_PATHS=TRUE
-DBOOST_LIBRARYDIR=/usr/lib/${arch}-linux-gnu/icinga-boost
-DBOOST_INCLUDEDIR=/usr/include/icinga-boost
-DCMAKE_INSTALL_RPATH=/usr/lib/${arch}-linux-gnu/icinga-boost
script:
- make

0 comments on commit ebf9f9d

Please sign in to comment.
You can’t perform that action at this time.