mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-28 16:09:41 +00:00
give this a try
This commit is contained in:
parent
9a6736cddf
commit
f8ba0acd1f
1 changed files with 20 additions and 15 deletions
35
.travis.yml
35
.travis.yml
|
@ -27,15 +27,6 @@ addons:
|
||||||
# The other ones from OpenMW ppa
|
# The other ones from OpenMW ppa
|
||||||
libbullet-dev, libswresample-dev, libopenscenegraph-3.4-dev, libmygui-dev
|
libbullet-dev, libswresample-dev, libopenscenegraph-3.4-dev, libmygui-dev
|
||||||
]
|
]
|
||||||
|
|
||||||
coverity_scan:
|
|
||||||
project:
|
|
||||||
name: "OpenMW/openmw"
|
|
||||||
description: "<Your project description here>"
|
|
||||||
notification_email: 720642+scrawl@users.noreply.github.com
|
|
||||||
build_command_prepend: "cmake . -DBUILD_UNITTESTS=FALSE -DBUILD_OPENCS=FALSE -DBUILD_BSATOOL=FALSE -DBUILD_ESMTOOL=FALSE -DBUILD_LAUNCHER=FALSE -DBUILD_MWINIIMPORTER=FALSE -DBUILD_WIZARD=FALSE"
|
|
||||||
build_command: "make -j3"
|
|
||||||
branch_pattern: coverity_scan
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- name: OpenMW (all) on MacOS xcode9.4
|
- name: OpenMW (all) on MacOS xcode9.4
|
||||||
|
@ -65,20 +56,34 @@ matrix:
|
||||||
- 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"
|
||||||
compiler: clang
|
compiler: clang
|
||||||
|
- name: OpenMW Coverity Scan
|
||||||
|
os: linux
|
||||||
|
dist: trusty
|
||||||
|
sudo: required
|
||||||
|
coverity_scan:
|
||||||
|
project:
|
||||||
|
name: "OpenMW/openmw"
|
||||||
|
description: "<Your project description here>"
|
||||||
|
branch_pattern: coverity_scan
|
||||||
|
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
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then eval "${MATRIX_EVAL}"; fi
|
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then eval "${MATRIX_EVAL}"; fi
|
||||||
- ./CI/before_install.${TRAVIS_OS_NAME}.sh
|
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then ./CI/before_install.${TRAVIS_OS_NAME}.sh; fi
|
||||||
before_script:
|
before_script:
|
||||||
- ./CI/before_script.${TRAVIS_OS_NAME}.sh
|
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then ./CI/before_script.${TRAVIS_OS_NAME}.sh; fi
|
||||||
script:
|
script:
|
||||||
- cd ./build
|
- cd ./build
|
||||||
- if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then ${ANALYZE} make -j3; fi
|
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then ${ANALYZE} make -j3; fi
|
||||||
- if [ "$COVERITY_SCAN_BRANCH" != 1 ] && [ "${TRAVIS_OS_NAME}" = "osx" ]; then make package; fi
|
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ] && [ "${TRAVIS_OS_NAME}" = "osx" ]; then make package; fi
|
||||||
- if [ "$COVERITY_SCAN_BRANCH" != 1 ] && [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./openmw_test_suite; fi
|
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ] && [ "${TRAVIS_OS_NAME}" = "linux" ]; then ./openmw_test_suite; fi
|
||||||
- if [ "$COVERITY_SCAN_BRANCH" != 1 ] && [ "${TRAVIS_OS_NAME}" = "linux" ]; then cd .. && ./CI/check_tabs.sh; fi
|
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ] && [ "${TRAVIS_OS_NAME}" = "linux" ]; then cd .. && ./CI/check_tabs.sh; fi
|
||||||
- cd "${TRAVIS_BUILD_DIR}"
|
- cd "${TRAVIS_BUILD_DIR}"
|
||||||
deploy:
|
deploy:
|
||||||
provider: script
|
provider: script
|
||||||
|
|
Loading…
Reference in a new issue