try using conditionals

pull/541/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,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

Loading…
Cancel
Save