1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 13:49:56 +00:00
openmw-tes3mp/.travis.yml

91 lines
3.4 KiB
YAML
Raw Normal View History

os:
- linux
# - osx
osx_image: xcode9.4
language: cpp
2016-01-19 10:15:36 +00:00
sudo: required
2019-02-13 16:45:05 +00:00
dist: xenial
branches:
only:
- master
- coverity_scan
2014-02-13 11:30:53 +00:00
- /openmw-.*$/
- /^[0-9]+\.[0-9]+\.[0-9]+.*$/
2014-12-17 22:19:37 +00:00
env:
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
2019-02-13 16:45:05 +00:00
- secure: 1QK0yVyoOB+gf2I7XzvhXu9w/5lq4stBXIwJbVCTjz4Q4XVHCosURaW1MAgKzMrPnbFEwjyn5uQ8BwsvvfkuN1AZD0YXITgc7gyI+J1wQ/p/ljxRxglakU6WEgsTs2J5z9UmGac4YTXg+quK7YP3rv+zuGim2I2rhzImejyzp0Ym3kRCnNcy+SGBsiRaevRJMe00Ch8zGAbEhduQGeSoS6W0rcu02DNlQKiq5NktWsXR+TWWWVfIeIlQR/lbPsCd0pdxMaMv2QCY0rVbwrYxWJwr/Qe45dAdWp+8/C3PbXpeMSGxlLa33nJNX4Lf/djxbjm8KWk6edaXPajrjR/0iwcpwq0jg2Jt6XfEdnJt35F1gpXlc04sxStjG45uloOKCFYT0wdhIO1Lq+hDP54wypQl+JInd5qC001O7pwhVxO36EgKWqo8HD+BqGDBwsNj2engy9Qcp3wO6G0rLBPB3CrZsk9wrHVv5cSiQSLMhId3Xviu3ZI2qEDA+kgTvxrKrsnMj4bILVCyG5Ka2Mj22wIDW9e8oIab9oTdujax3DTN1GkD6QuOAGzwDsNwGASsgfoeZ+FUhgM75RlBWGMilgkmnF7EJ0oAXLEpjtABnEr2d4qHv+y08kOuTDBLB9ExzCIj024dYYYNLZrqPKx0ncHuCMG2QNj2aJAJEZtj1rQ=
2014-12-17 22:19:37 +00:00
addons:
apt:
sources:
- sourceline: 'ppa:openmw/openmw'
- sourceline: 'ppa:rakhimov/boost'
- ubuntu-toolchain-r-test
packages: [
# Dev
2019-02-13 16:45:05 +00:00
cmake, clang-6.0, libunshield-dev, libtinyxml-dev,
g++-8,
# Boost
libboost-filesystem1.61-dev, libboost-program-options1.61-dev, libboost-system1.61-dev,
# FFmpeg
libavcodec-dev, libavformat-dev, libavutil-dev, libswscale-dev,
# Audio & Video
2017-01-27 13:24:41 +00:00
libsdl2-dev, qtbase5-dev, libopenal-dev,
# The other ones from OpenMW ppa
libbullet-dev, libswresample-dev, libopenscenegraph-3.4-dev, libmygui-dev,
# tes3mp stuff
libboost1.61-dev, libqt5opengl5-dev, libluajit-5.1-dev
]
2014-12-17 22:19:37 +00:00
coverity_scan:
project:
2016-08-30 13:48:55 +00:00
name: "TES3MP/openmw-tes3mp"
2014-12-17 22:19:37 +00:00
description: "<Your project description here>"
2019-02-13 16:45:05 +00:00
notification_email: koncord@tes3mp.com
2017-10-15 15:06:34 +00:00
build_command_prepend: "cmake . -DBUILD_UNITTESTS=FALSE -DBUILD_OPENCS=FALSE -DBUILD_BSATOOL=FALSE -DBUILD_ESMTOOL=FALSE -DBUILD_MWINIIMPORTER=FALSE -DBUILD_LAUNCHER=FALSE"
2016-08-30 17:00:27 +00:00
build_command: "make -j3"
2014-12-17 22:19:37 +00:00
branch_pattern: coverity_scan
2015-03-17 13:45:31 +00:00
matrix:
include:
- os: linux
env:
2019-02-13 16:45:05 +00:00
- ANALYZE="scan-build-6.0 --use-cc clang-6.0 --use-c++ clang++-6.0 "
- MATRIX_CC="CC=clang-6.0 && CXX=clang++-6.0"
2015-03-17 13:45:31 +00:00
compiler: clang
- os: linux
env:
2019-02-13 16:45:05 +00:00
- MATRIX_CC="CC=gcc-8 && CXX=g++-8"
- os: linux
env:
2019-02-13 16:45:05 +00:00
- MATRIX_CC="CC=clang-6.0 && CXX=clang++-6.0"
2015-03-17 13:45:31 +00:00
allow_failures:
2018-05-11 01:19:41 +00:00
- env:
2019-02-13 16:45:05 +00:00
- MATRIX_CC="CC=clang-6.0 && CXX=clang++-6.0"
- env:
2019-02-13 16:45:05 +00:00
- ANALYZE="scan-build-6.0 --use-cc clang-6.0 --use-c++ clang++-6.0 "
- MATRIX_CC="CC=clang-6.0 && CXX=clang++-6.0"
2014-12-17 22:19:37 +00:00
before_install:
2016-08-30 13:48:55 +00:00
- ./CI/before_install.${TRAVIS_OS_NAME}.sh
before_script: ./CI/before_script.${TRAVIS_OS_NAME}.sh
script:
- cd ./build
- if [ "$COVERITY_SCAN_BRANCH" != 1 ]; then ${ANALYZE}make -j3; fi
- if [ "$COVERITY_SCAN_BRANCH" != 1 ] && [ "${TRAVIS_OS_NAME}" = "osx" ]; then make package; fi
2015-11-08 00:21:59 +00:00
- 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
2016-09-04 06:47:21 +00:00
#notifications:
# email:
2016-12-20 03:25:31 +00:00
# recipients:
# - corrmage+travis-ci@gmail.com
2016-09-04 06:47:21 +00:00
# on_success: change
# on_failure: always
2016-12-20 03:25:31 +00:00
# irc:
# channels:
# - "chat.freenode.net#openmw"
# on_success: change
# on_failure: always
# use_notice: true