X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=.travis.yml;h=f9e54de46e7533bf3d189b8f691429099f3b1250;hb=cb01f15217f0bc21d46dee8e7e8985a6d6f74413;hp=8600155c69aea0c0507187379701cc89a701a859;hpb=7ac93b3fa3eff50a07680f538b9802b797e38f09;p=supertux.git diff --git a/.travis.yml b/.travis.yml index 8600155c6..f9e54de46 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,11 @@ matrix: fast_finish: true env: - - CMAKE_VERSION=3.1.1 SDL2_VERSION=2.0.3 SDL2IMAGE_VERSION=2.0.0 + global: + # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created + # via the "travis encrypt" command using the project repo's public key + - secure: "E3/UuL338/FVeKbWVBH8RWznD3ntT8BZxX9TDTCwoZFTPluI53Bk0G3MdDBFihFYLeTMfNxxrT2n+EnQtf9a6SrUIo1xFYWV3yKNHwFiS0LKn0IvhofPoRsg+Y190Hgq8djFSEU1Gk4pYATSfRYnAAbVxuL51CumGVBgBkplB0A=" + - CMAKE_VERSION=3.1.3 SDL2_VERSION=2.0.3 SDL2IMAGE_VERSION=2.0.0 before_install: - sudo apt-get update -qq @@ -43,6 +47,8 @@ before_install: - (cd SDL2_image-$SDL2IMAGE_VERSION && ./configure --prefix=/usr && make -j5 && sudo make install) script: + # Clean from previous Travis build +- git clean -f # First a debug build: - mkdir build-debug - cd build-debug @@ -55,6 +61,16 @@ script: - cmake .. -DCMAKE_BUILD_TYPE=Release - make VERBOSE=1 -j $(nproc) +addons: + coverity_scan: + project: + name: "SuperTuxTeam/supertux" + description: "Build submitted via Travis CI" + notification_email: supertux-commit@lists.lethargik.org + build_command_prepend: "cmake . && make clean" + build_command: "make -j 4" + branch_pattern: coverity_scan + notifications: email: - supertux-commit@lists.lethargik.org