Configure coverity scan for travis
This commit is contained in:
parent
a73da0a547
commit
a609e0f8d7
18
.travis.yml
18
.travis.yml
|
@ -26,21 +26,23 @@ addons:
|
|||
name: "DanielChappuis/reactphysics3d"
|
||||
description: "Build submitted via Travis CI"
|
||||
notification_email: chappuis.daniel@gmail.com
|
||||
build_command_prepend: "cd build_directory; cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Debug —DDOUBLE_PRECISION_ENABLED=False ../"
|
||||
build_command: "make"
|
||||
build_command_prepend: "cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Debug —DDOUBLE_PRECISION_ENABLED=False ."
|
||||
build_command: "make"
|
||||
branch_pattern: develop
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- develop
|
||||
script:
|
||||
- mkdir build_directory
|
||||
- cd build_directory
|
||||
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug —DDOUBLE_PRECISION_ENABLED=True -DCOMPILE_TESTS=True ../
|
||||
# Build in debug mode with double precision
|
||||
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug —DDOUBLE_PRECISION_ENABLED=True -DCOMPILE_TESTS=True .
|
||||
- make && make test ARGS="-V"
|
||||
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug —DDOUBLE_PRECISION_ENABLED=False -DCOMPILE_TESTS=True ../
|
||||
# Build in debug mode with single precision
|
||||
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug —DDOUBLE_PRECISION_ENABLED=False -DCOMPILE_TESTS=True .
|
||||
- make && make test ARGS="-V"
|
||||
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release —DDOUBLE_PRECISION_ENABLED=True -DCOMPILE_TESTS=True ../
|
||||
# Build in release mode with double precision
|
||||
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release —DDOUBLE_PRECISION_ENABLED=True -DCOMPILE_TESTS=True .
|
||||
- make && make test ARGS="-V"
|
||||
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release —DDOUBLE_PRECISION_ENABLED=False -DCOMPILE_TESTS=True ../
|
||||
# Build in release mode with single precision
|
||||
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release —DDOUBLE_PRECISION_ENABLED=False -DCOMPILE_TESTS=True .
|
||||
- make && make test ARGS="-V"
|
||||
|
|
Loading…
Reference in New Issue
Block a user