1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-19 19:53:53 +00:00

try using conditionals

This commit is contained in:
Bret Curtis 2018-11-12 15:05:09 +01:00
parent f8ba0acd1f
commit 8ad9d26c2c

View file

@ -32,12 +32,14 @@ matrix:
- name: OpenMW (all) on MacOS xcode9.4 - name: OpenMW (all) on MacOS xcode9.4
os: osx os: osx
osx_image: xcode9.4 osx_image: xcode9.4
if: branch != coverity_scan
- name: OpenMW (all) on Ubuntu Trusty GCC-8 - name: OpenMW (all) on Ubuntu Trusty GCC-8
os: linux os: linux
dist: trusty dist: trusty
sudo: required sudo: required
env: env:
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8" - MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
if: branch != coverity_scan
- name: OpenMW (openmw) on Ubuntu Trusty Clang-7 with Static Analysis - name: OpenMW (openmw) on Ubuntu Trusty Clang-7 with Static Analysis
os: linux os: linux
dist: trusty dist: trusty
@ -46,6 +48,7 @@ matrix:
- MATRIX_EVAL="CC=clang-7 && CXX=clang++-7" - MATRIX_EVAL="CC=clang-7 && CXX=clang++-7"
- ANALYZE="scan-build-7 --use-cc clang-7 --use-c++ clang++-7" - ANALYZE="scan-build-7 --use-cc clang-7 --use-c++ clang++-7"
- BUILD_OPENMW_CS="OFF" - BUILD_OPENMW_CS="OFF"
if: branch != coverity_scan
compiler: clang compiler: clang
- name: OpenMW (openmw-cs) on Ubuntu Trusty Clang-7 with Static Analysis - name: OpenMW (openmw-cs) on Ubuntu Trusty Clang-7 with Static Analysis
os: linux os: linux
@ -55,11 +58,16 @@ matrix:
- MATRIX_EVAL="CC=clang-7 && CXX=clang++-7" - MATRIX_EVAL="CC=clang-7 && CXX=clang++-7"
- ANALYZE="scan-build-7 --use-cc clang-7 --use-c++ clang++-7" - ANALYZE="scan-build-7 --use-cc clang-7 --use-c++ clang++-7"
- BUILD_OPENMW="OFF" - BUILD_OPENMW="OFF"
if: branch != coverity_scan
compiler: clang compiler: clang
- name: OpenMW Coverity Scan - name: OpenMW Coverity Scan
os: linux os: linux
dist: trusty dist: trusty
sudo: required sudo: required
env:
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
if: branch = coverity_scan
addons:
coverity_scan: coverity_scan:
project: project:
name: "OpenMW/openmw" name: "OpenMW/openmw"
@ -70,6 +78,7 @@ matrix:
- "cov-configure --comptype gcc --compiler gcc-8 --template" - "cov-configure --comptype gcc --compiler gcc-8 --template"
- "cmake . -DBUILD_OPENCS=FALSE -DBUILD_WIZARD=FALSE -DBUILD_UNITTESTS=FALSE -DBUILD_BSATOOL=FALSE -DBUILD_ESMTOOL=FALSE -DBUILD_MWINIIMPORTER=FALSE -DBUILD_ESSIMPORTER=FALSE -DBUILD_LAUNCHER=FALSE -DBUILD_MYGUI_PLUGIN=FALSE" - "cmake . -DBUILD_OPENCS=FALSE -DBUILD_WIZARD=FALSE -DBUILD_UNITTESTS=FALSE -DBUILD_BSATOOL=FALSE -DBUILD_ESMTOOL=FALSE -DBUILD_MWINIIMPORTER=FALSE -DBUILD_ESSIMPORTER=FALSE -DBUILD_LAUNCHER=FALSE -DBUILD_MYGUI_PLUGIN=FALSE"
build_command: "make VERBOSE=1 -j3" build_command: "make VERBOSE=1 -j3"
# allow_failures: # allow_failures:
# - name: OpenMW (openmw) on Ubuntu Trusty Clang-7 with Static Analysis # - name: OpenMW (openmw) on Ubuntu Trusty Clang-7 with Static Analysis