Fix the Travis file
This commit is contained in:
parent
fc874f063e
commit
d8dde5f9d2
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ install:
|
|||
|
||||
before_script:
|
||||
- |
|
||||
if [ "BUILD_SYSTEM" == "cmake" ]; then
|
||||
if [ "$BUILD_SYSTEM" == "cmake" ]; then
|
||||
# Make build directory and generate CMake build files
|
||||
mkdir -p ${CMAKE_BUILD_DIR} && cd ${CMAKE_BUILD_DIR}
|
||||
cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DFIX_BUGS=ON -DWARNINGS=ON -DWARNINGS_ALL=ON
|
||||
|
@ -119,7 +119,7 @@ before_script:
|
|||
|
||||
script:
|
||||
- |
|
||||
if [ "BUILD_SYSTEM" == "cmake" ]; then
|
||||
if [ "$BUILD_SYSTEM" == "cmake" ]; then
|
||||
# CMake build
|
||||
cd ${CMAKE_BUILD_DIR}
|
||||
cmake --build . --config $BUILD_TYPE --parallel $JOBS
|
||||
|
|
Loading…
Add table
Reference in a new issue