|
|
|
language: cpp
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- /openmw-.*$/
|
|
|
|
cache: ccache
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- sourceline: 'ppa:openmw/openmw'
|
|
|
|
packages: [
|
|
|
|
# Dev
|
|
|
|
build-essential, cmake, clang-tools-9, ccache,
|
|
|
|
# Boost
|
|
|
|
libboost-filesystem-dev, libboost-iostreams-dev, libboost-program-options-dev, libboost-system-dev,
|
|
|
|
# FFmpeg
|
|
|
|
libavcodec-dev, libavformat-dev, libavutil-dev, libswresample-dev, libswscale-dev,
|
use c++11 std::align from <memory> (#2026)
* use c++11 std::align from <memory>
* for Ubuntu, use gcc5 instead of 4.8
* use travis to set gcc to 5
eval
and sudo
* use eval in .travis.yml
* use gcc-8
* replace precise with trusty llvm toolchain, because we have been using trusty for awhile now
* push things to matrix, so we can support multiple releases if we want
* we should not be allowing for failures, we are ready to start trusting clang and its analyzer
* scan-build was pushed to another package
* use gcc-8 still but wrap in scan-build
* travis.yml cleanup, have output of scripts go to stdout, make search for substring a regex
use double []
fix missing ,
use bash to use regex
black spaces matter
* set human readable names for our various builds, split out our static analysis between openmw and openmw-cs
* test if not set, then set otherwise ignore
* use quotes
* do not eval it, set it in travis env
* no more &&
* what does clang7 have to say?
* use sourceline for now
* use clang-7 instead of clang-7.0
* yes, llvm-toolchain-trusty-7 not llvm-toolchain-trusty-7.0
* for static analysis, openmw is compiled and checked on its own while openmw-cs is build with all the rest. this might change in the future.
and actually do it the other way around
6 years ago
|
|
|
# Audio, Video and Misc. deps
|
|
|
|
libsdl2-dev, libqt5opengl5-dev, libopenal-dev, libunshield-dev, libtinyxml-dev, liblz4-dev,
|
|
|
|
# The other ones from OpenMW ppa
|
|
|
|
libbullet-dev, libopenscenegraph-dev, libmygui-dev
|
|
|
|
]
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- name: OpenMW (all) on MacOS 10.15 with Xcode 11.6
|
use c++11 std::align from <memory> (#2026)
* use c++11 std::align from <memory>
* for Ubuntu, use gcc5 instead of 4.8
* use travis to set gcc to 5
eval
and sudo
* use eval in .travis.yml
* use gcc-8
* replace precise with trusty llvm toolchain, because we have been using trusty for awhile now
* push things to matrix, so we can support multiple releases if we want
* we should not be allowing for failures, we are ready to start trusting clang and its analyzer
* scan-build was pushed to another package
* use gcc-8 still but wrap in scan-build
* travis.yml cleanup, have output of scripts go to stdout, make search for substring a regex
use double []
fix missing ,
use bash to use regex
black spaces matter
* set human readable names for our various builds, split out our static analysis between openmw and openmw-cs
* test if not set, then set otherwise ignore
* use quotes
* do not eval it, set it in travis env
* no more &&
* what does clang7 have to say?
* use sourceline for now
* use clang-7 instead of clang-7.0
* yes, llvm-toolchain-trusty-7 not llvm-toolchain-trusty-7.0
* for static analysis, openmw is compiled and checked on its own while openmw-cs is build with all the rest. this might change in the future.
and actually do it the other way around
6 years ago
|
|
|
os: osx
|
|
|
|
osx_image: xcode11.6
|
|
|
|
- name: OpenMW (all) on Ubuntu Focal with GCC
|
|
|
|
os: linux
|
|
|
|
dist: focal
|
|
|
|
- name: OpenMW (tests only) on Ubuntu Focal with GCC
|
|
|
|
os: linux
|
|
|
|
dist: focal
|
|
|
|
env:
|
|
|
|
- BUILD_TESTS_ONLY: 1
|
|
|
|
- name: OpenMW (openmw) on Ubuntu Focal with Clang's Static Analysis
|
use c++11 std::align from <memory> (#2026)
* use c++11 std::align from <memory>
* for Ubuntu, use gcc5 instead of 4.8
* use travis to set gcc to 5
eval
and sudo
* use eval in .travis.yml
* use gcc-8
* replace precise with trusty llvm toolchain, because we have been using trusty for awhile now
* push things to matrix, so we can support multiple releases if we want
* we should not be allowing for failures, we are ready to start trusting clang and its analyzer
* scan-build was pushed to another package
* use gcc-8 still but wrap in scan-build
* travis.yml cleanup, have output of scripts go to stdout, make search for substring a regex
use double []
fix missing ,
use bash to use regex
black spaces matter
* set human readable names for our various builds, split out our static analysis between openmw and openmw-cs
* test if not set, then set otherwise ignore
* use quotes
* do not eval it, set it in travis env
* no more &&
* what does clang7 have to say?
* use sourceline for now
* use clang-7 instead of clang-7.0
* yes, llvm-toolchain-trusty-7 not llvm-toolchain-trusty-7.0
* for static analysis, openmw is compiled and checked on its own while openmw-cs is build with all the rest. this might change in the future.
and actually do it the other way around
6 years ago
|
|
|
os: linux
|
|
|
|
dist: focal
|
use c++11 std::align from <memory> (#2026)
* use c++11 std::align from <memory>
* for Ubuntu, use gcc5 instead of 4.8
* use travis to set gcc to 5
eval
and sudo
* use eval in .travis.yml
* use gcc-8
* replace precise with trusty llvm toolchain, because we have been using trusty for awhile now
* push things to matrix, so we can support multiple releases if we want
* we should not be allowing for failures, we are ready to start trusting clang and its analyzer
* scan-build was pushed to another package
* use gcc-8 still but wrap in scan-build
* travis.yml cleanup, have output of scripts go to stdout, make search for substring a regex
use double []
fix missing ,
use bash to use regex
black spaces matter
* set human readable names for our various builds, split out our static analysis between openmw and openmw-cs
* test if not set, then set otherwise ignore
* use quotes
* do not eval it, set it in travis env
* no more &&
* what does clang7 have to say?
* use sourceline for now
* use clang-7 instead of clang-7.0
* yes, llvm-toolchain-trusty-7 not llvm-toolchain-trusty-7.0
* for static analysis, openmw is compiled and checked on its own while openmw-cs is build with all the rest. this might change in the future.
and actually do it the other way around
6 years ago
|
|
|
env:
|
|
|
|
- MATRIX_EVAL="CC=clang-9 && CXX=clang++-9"
|
|
|
|
- ANALYZE="scan-build-9 --force-analyze-debug-code --use-cc clang-9 --use-c++ clang++-9"
|
|
|
|
compiler: clang
|
|
|
|
|
use c++11 std::align from <memory> (#2026)
* use c++11 std::align from <memory>
* for Ubuntu, use gcc5 instead of 4.8
* use travis to set gcc to 5
eval
and sudo
* use eval in .travis.yml
* use gcc-8
* replace precise with trusty llvm toolchain, because we have been using trusty for awhile now
* push things to matrix, so we can support multiple releases if we want
* we should not be allowing for failures, we are ready to start trusting clang and its analyzer
* scan-build was pushed to another package
* use gcc-8 still but wrap in scan-build
* travis.yml cleanup, have output of scripts go to stdout, make search for substring a regex
use double []
fix missing ,
use bash to use regex
black spaces matter
* set human readable names for our various builds, split out our static analysis between openmw and openmw-cs
* test if not set, then set otherwise ignore
* use quotes
* do not eval it, set it in travis env
* no more &&
* what does clang7 have to say?
* use sourceline for now
* use clang-7 instead of clang-7.0
* yes, llvm-toolchain-trusty-7 not llvm-toolchain-trusty-7.0
* for static analysis, openmw is compiled and checked on its own while openmw-cs is build with all the rest. this might change in the future.
and actually do it the other way around
6 years ago
|
|
|
before_install:
|
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then eval "${MATRIX_EVAL}"; fi
|
|
|
|
- ./CI/before_install.${TRAVIS_OS_NAME}.sh
|
use c++11 std::align from <memory> (#2026)
* use c++11 std::align from <memory>
* for Ubuntu, use gcc5 instead of 4.8
* use travis to set gcc to 5
eval
and sudo
* use eval in .travis.yml
* use gcc-8
* replace precise with trusty llvm toolchain, because we have been using trusty for awhile now
* push things to matrix, so we can support multiple releases if we want
* we should not be allowing for failures, we are ready to start trusting clang and its analyzer
* scan-build was pushed to another package
* use gcc-8 still but wrap in scan-build
* travis.yml cleanup, have output of scripts go to stdout, make search for substring a regex
use double []
fix missing ,
use bash to use regex
black spaces matter
* set human readable names for our various builds, split out our static analysis between openmw and openmw-cs
* test if not set, then set otherwise ignore
* use quotes
* do not eval it, set it in travis env
* no more &&
* what does clang7 have to say?
* use sourceline for now
* use clang-7 instead of clang-7.0
* yes, llvm-toolchain-trusty-7 not llvm-toolchain-trusty-7.0
* for static analysis, openmw is compiled and checked on its own while openmw-cs is build with all the rest. this might change in the future.
and actually do it the other way around
6 years ago
|
|
|
before_script:
|
|
|
|
- ccache -z
|
|
|
|
- ./CI/before_script.${TRAVIS_OS_NAME}.sh
|
|
|
|
script:
|
|
|
|
- cd ./build
|
|
|
|
- ${ANALYZE} make -j3;
|
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then make package; fi
|
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then ../CI/check_package.osx.sh; fi
|
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "linux" ] && [ "${BUILD_TESTS_ONLY}" ]; then ./openmw_test_suite; fi
|
|
|
|
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then cd .. && ./CI/check_tabs.sh; fi
|
|
|
|
- cd "${TRAVIS_BUILD_DIR}"
|
|
|
|
- ccache -s
|
|
|
|
deploy:
|
|
|
|
provider: script
|
|
|
|
script: ./CI/deploy.osx.sh
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
branch: master
|
|
|
|
condition: "$TRAVIS_EVENT_TYPE = cron && $TRAVIS_OS_NAME = osx"
|
|
|
|
repo: OpenMW/openmw
|
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
if: repository_slug = OpenMW/openmw AND branch = master
|
|
|
|
recipients:
|
|
|
|
- corrmage+travis-ci@gmail.com
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
irc:
|
|
|
|
if: repository_slug = OpenMW/openmw AND branch = master
|
|
|
|
channels:
|
|
|
|
- "chat.freenode.net#openmw"
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
use_notice: true
|