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