File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ branches:
55 - master
66
77env :
8+ global :
9+ - CMAKE_ARGS_ALL="-DBUILD_EXAMPLES=ON -DPostgreSQL_TYPE_INCLUDE_DIR=/usr/share/postgresql/"
810 matrix :
911 # gcc builds
1012 - CMAKE_CC="gcc" CMAKE_CXX="g++" CMAKE_ARGS="-DCMAKE_BUILD_TYPE=Debug" DB="sqlite"
@@ -26,8 +28,8 @@ install:
2628 - if [ "$DB" == "postgresql" ]; then sudo apt-get install libpq-dev; fi
2729
2830before_script :
29- - mkdir build && cd build && cmake -DCMAKE_C_COMPILER=$CMAKE_CC -DCMAKE_CXX_COMPILER=$CMAKE_CXX $CMAKE_ARGS -DTEST_DATABASE=$DB -DPostgreSQL_TYPE_INCLUDE_DIR=/usr/share/postgresql/ ..
30- - if [ "$DB" == "postgresql" ]; then psql -c "create database $USER;" -U postgres; fi
31+ - mkdir build && cd build && cmake -DCMAKE_C_COMPILER=$CMAKE_CC -DCMAKE_CXX_COMPILER=$CMAKE_CXX $CMAKE_ARGS $CMAKE_ARGS_ALL -DTEST_DATABASE=$DB ..
32+ - if [ "$DB" == "postgresql" ]; then psql -c "CREATE DATABASE $USER;" -U postgres; fi
3133
3234script :
3335 - make -j4 && ctest -V
You can’t perform that action at this time.
0 commit comments