|
|
|
@ -2,13 +2,7 @@ language: cpp
|
|
|
|
|
branches:
|
|
|
|
|
only:
|
|
|
|
|
- master
|
|
|
|
|
- coverity_scan
|
|
|
|
|
- /openmw-.*$/
|
|
|
|
|
env:
|
|
|
|
|
global:
|
|
|
|
|
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
|
|
|
|
# via the "travis encrypt" command using the project repo's public key
|
|
|
|
|
- secure: "jybGzAdUbqt9vWR/GEnRd96BgAi/7Zd1+2HK68j/i/8+/1YH2XxLOy4Jv/DUBhBlJIkxs/Xv8dRcUlFOclZDHX1d/9Qnsqd3oUVkD7k1y7cTOWy9TBQaE/v/kZo3LpzA3xPwwthrb0BvqIbOfIELi5fS5s8ba85WFRg3AX70wWE="
|
|
|
|
|
cache: ccache
|
|
|
|
|
addons:
|
|
|
|
|
apt:
|
|
|
|
@ -27,28 +21,17 @@ addons:
|
|
|
|
|
# The other ones from OpenMW ppa
|
|
|
|
|
libbullet-dev, libopenscenegraph-dev, libmygui-dev
|
|
|
|
|
]
|
|
|
|
|
coverity_scan: # TODO: currently takes too long, disabled openmw/openmw-cs for now.
|
|
|
|
|
project:
|
|
|
|
|
name: "OpenMW/openmw"
|
|
|
|
|
description: "<Your project description here>"
|
|
|
|
|
branch_pattern: coverity_scan
|
|
|
|
|
notification_email: 1122069+psi29a@users.noreply.github.com
|
|
|
|
|
build_command_prepend: "cov-configure --comptype gcc --compiler gcc-5 --template; cmake . -DBUILD_OPENMW=FALSE -DBUILD_OPENCS=FALSE"
|
|
|
|
|
build_command: "make VERBOSE=1 -j3"
|
|
|
|
|
matrix:
|
|
|
|
|
include:
|
|
|
|
|
- name: OpenMW (all) on MacOS 10.15 with Xcode 11.6
|
|
|
|
|
os: osx
|
|
|
|
|
osx_image: xcode11.6
|
|
|
|
|
if: branch != coverity_scan
|
|
|
|
|
- name: OpenMW (all) on Ubuntu Focal with GCC
|
|
|
|
|
os: linux
|
|
|
|
|
dist: focal
|
|
|
|
|
if: branch != coverity_scan
|
|
|
|
|
- name: OpenMW (tests only) on Ubuntu Focal with GCC
|
|
|
|
|
os: linux
|
|
|
|
|
dist: focal
|
|
|
|
|
if: branch != coverity_scan
|
|
|
|
|
env:
|
|
|
|
|
- BUILD_TESTS_ONLY: 1
|
|
|
|
|
- name: OpenMW (openmw) on Ubuntu Focal with Clang's Static Analysis
|
|
|
|
@ -57,16 +40,7 @@ matrix:
|
|
|
|
|
env:
|
|
|
|
|
- MATRIX_EVAL="CC=clang && CXX=clang++"
|
|
|
|
|
- ANALYZE="scan-build --force-analyze-debug-code --use-cc clang --use-c++ clang++"
|
|
|
|
|
if: branch != coverity_scan
|
|
|
|
|
compiler: clang
|
|
|
|
|
- name: OpenMW Components Coverity Scan
|
|
|
|
|
os: linux
|
|
|
|
|
dist: focal
|
|
|
|
|
if: branch = coverity_scan
|
|
|
|
|
# allow_failures:
|
|
|
|
|
# - name: OpenMW (openmw) on Ubuntu Focal with GCC-10
|
|
|
|
|
# env:
|
|
|
|
|
# - MATRIX_EVAL="CC=gcc-10 && CXX=g++-10"
|
|
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then eval "${MATRIX_EVAL}"; fi
|
|
|
|
|