diff --git a/.travis.linux b/.travis.linux index fa0a8c70e..36811dc33 100644 --- a/.travis.linux +++ b/.travis.linux @@ -16,11 +16,11 @@ sudo apt-get update -qq sudo apt-get install -qq $SUPPORT sudo apt-get install -qq $PACKAGE -sudo apt-get install -qq cmake libboost1.54-all-dev zlib1g-dev +sudo apt-get install -qq cmake ninja-build libboost1.54-all-dev zlib1g-dev sudo apt-get install -qq libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev sudo apt-get install -qq libavformat-dev libswscale-dev sudo apt-get install -qq qt57declarative #setup compiler source /opt/qt57/bin/qt57-env.sh -export CC=${REAL_CC} CXX=${REAL_CXX} \ No newline at end of file +export CC=${REAL_CC} CXX=${REAL_CXX} diff --git a/.travis.yml b/.travis.yml index ef16b4a2e..e05160b3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ before_install: before_script: - mkdir build - cd build - - cmake -G "Unix Makefiles" .. $VCMI_CMAKE_FLAGS + - if [[ $TRAVIS_BRANCH != 'coverity_scan' ]]; then cmake -G "Unix Makefiles" .. $VCMI_CMAKE_FLAGS; fi script: - test $TRAVIS_BRANCH != coverity_scan || exit 0 @@ -35,13 +35,13 @@ matrix: include: - os: linux compiler: clang - env: VCMI_PLATFORM='linux' REAL_CC=clang-3.4 REAL_CXX=clang++-3.4 PACKAGE=clang-3.4 SUPPORT=libstdc++-4.8-dev + env: VCMI_PLATFORM='linux' REAL_CC=clang-3.6 REAL_CXX=clang++-3.6 PACKAGE=clang-3.6 SUPPORT=libstdc++-4.8-dev - os: linux compiler: clang env: VCMI_PLATFORM='linux' REAL_CC=clang-3.5 REAL_CXX=clang++-3.5 PACKAGE=clang-3.5 SUPPORT=libstdc++-4.8-dev - os: linux compiler: clang - env: VCMI_PLATFORM='linux' REAL_CC=clang-3.6 REAL_CXX=clang++-3.6 PACKAGE=clang-3.6 SUPPORT=libstdc++-4.8-dev + env: VCMI_PLATFORM='linux' REAL_CC=clang-3.4 REAL_CXX=clang++-3.4 PACKAGE=clang-3.4 SUPPORT=libstdc++-4.8-dev - os: linux compiler: gcc env: VCMI_PLATFORM='linux' REAL_CC=gcc-4.8 REAL_CXX=g++-4.8 PACKAGE=g++-4.8 SUPPORT= @@ -57,8 +57,8 @@ addons: name: vcmi/vcmi description: Build submitted via Travis CI notification_email: coverity@arseniyshestakov.com - build_command_prepend: cmake -G "Unix Makefiles" . -DENABLE_LAUNCHER=1 -DENABLE_TEST=1 - build_command: make + build_command_prepend: "cov-configure --compiler clang-3.6 --comptype clangcc && cov-configure --comptype clangcxx --compiler clang++-3.6 && cmake -G Ninja .. -DCMAKE_BUILD_TYPE=DEBUG -DENABLE_LAUNCHER=1 -DENABLE_TEST=1" + build_command: ninja branch_pattern: coverity_scan notifications: