Configure coverity scan for travis

This commit is contained in:
Daniel Chappuis 2016-04-02 17:06:54 +02:00
parent a609e0f8d7
commit 69f56e84f2

View File

@ -2,7 +2,7 @@ env:
global: global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key # via the "travis encrypt" command using the project repo's public key
- secure: "84km/w+VYQlISJYaEAaWUZShqXkYuBPg3zctJu4AIWTJg6LpQ8nzDdSWM0U4U16PNoyy5ppRXULJJmyutZkq8RdC6WWTREHl9M2XQ/WLPedYiDvc1qhh+OudnMDX2n1/fu8U10SulV/bI4hhRBo+NrI5VQ/E+vs3Hnzr00SM2KHMDqBBlVOZZHjUl5bI59s4yNeZUdeyNWwxQAKL6WVdtbeTQNoqTMPd+KkyUQMv6PZJTTWIU+9RevXSmSNGqBUo3IRw05TUEBXqew1YS4wy4UUs0s6pZRAHu9PR/FnWaBVyG/hSOR8i5RpCNWcCvHIJKEz4r0NSFkmpAmq/JOKgV3Sh6MoVmogqhvhvnDC51/9eIlDmPu5olTp3Wd6ayN8MwFrybfVD6B2bn4FO6XmEgVUmzz4g2nYkIQyvWElufp3M76MVuf3Zj34fDK6vKxXsn8AQvautbunMCps1HvkB718oKhl7jgZB1B7uVQRf/SrqSjS8yxHnzOd8f8ogM0RYz4OkapzrbZbvuHgXVlkJazs8/xhJnplNzSLVTA933K4YNO5PmEodkTPNhtP45O50YiwVr9WgwN/8x+I4ZHk5O0ZlrWOr1ZjLdWqVYiG5S6lMFaeKJeFAyX521IT1fmd9njmSgaddkhLeirznuVaXYN+6Mg6ORN1UXmM8yB9NuPM=" - secure: "WlDHJiXKcBaiWfA4EJKyG+EMHuv6pX425RMa4f+dotYXqQ13tBhI351R6JsIn7QVMPei+ZFMq8iLx6qhonRKNHUklyJfXSytrJi2NPFmrYgzDHnNT03MkihKd/2fNyCpkrQNKsbfjaVdNq/ZrT01qwyvEapUWol5Kvzx6nyEWhmNyN/j9Sun92amBPqnQ2RrwW/LXPX4j8BRqtwMerQV8vPGIptWbfjpkKdx66/00adaQGn6MUE1Fb/xUbrU/JMDQags81uis3Lez7U5Vrms5s6oufPFojSui5ar9CiP94La6wP7r5Gpa8+vy/MMNRgPrvR1NmNk8VuGGwHNFx428Gpkl7BZha/vPfp0Aw+xZqn/KBb354SXPIdu9Xd6esxjHgTrG2T1CDKaf5O4ah3XCSKf9SRb8uoHBa28v+Al759lBR5z/cRTLWdivUOKiOvPEgoBOWt8+hkzdVjgvv8CJ5Rx7iXP9fGKs32kTU4UhNER+Q6hoOZBReDSb2qW4NX/HieI7AIG8OUmjhJgDYxLSMyFgDHF7Fpv/FiKm6Z10L9hEFlDLX9ENiSbgpgHPfMDNYOS/b3lm8/FcpVfGIBx+MsCuvbDprncuGjwOop3FS0pC/weOSR9IgGTKoSPuV5VpYtCyVor9tUp01bZ3cURb0d6lPoeCK9l30WMwDiqiyw="
language: cpp language: cpp
os: os:
@ -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: "cmake -G 'Unix Makefiles' -DCMAKE_BUILD_TYPE=Debug —DDOUBLE_PRECISION_ENABLED=False ." build_command_prepend: "mkdir build_directory; cd build_directory; 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:
@ -35,14 +35,14 @@ branches:
- develop - develop
script: script:
# Build in debug mode with double precision # Build in debug mode with double precision
- 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"
# Build in debug mode with single precision # Build in debug mode with single precision
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug —DDOUBLE_PRECISION_ENABLED=False -DCOMPILE_TESTS=True . - 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"
# Build in release mode with double precision # Build in release mode with double precision
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release —DDOUBLE_PRECISION_ENABLED=True -DCOMPILE_TESTS=True . - 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"
# Build in release mode with single precision # Build in release mode with single precision
- cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release —DDOUBLE_PRECISION_ENABLED=False -DCOMPILE_TESTS=True . - 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"