try using conditionals

pull/2040/head
Bret Curtis 6 years ago
parent f8ba0acd1f
commit 8ad9d26c2c

@ -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,21 +58,27 @@ 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
coverity_scan: env:
project: - MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
name: "OpenMW/openmw" if: branch = coverity_scan
description: "<Your project description here>" addons:
branch_pattern: coverity_scan coverity_scan:
notification_email: 720642+scrawl@users.noreply.github.com project:
build_command_prepend: name: "OpenMW/openmw"
- "cov-configure --comptype gcc --compiler gcc-8 --template" description: "<Your project description here>"
- "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" branch_pattern: coverity_scan
build_command: "make VERBOSE=1 -j3" notification_email: 720642+scrawl@users.noreply.github.com
build_command_prepend:
- "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"
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

Loading…
Cancel
Save