2013-12-19 15:07:58 -05:00
|
|
|
language: cpp
|
2015-07-21 18:40:13 -04:00
|
|
|
sudo: false
|
2014-05-10 08:03:36 -04:00
|
|
|
|
2017-12-22 13:25:46 -05:00
|
|
|
# Use Linux by default
|
|
|
|
os: linux
|
2014-05-10 08:03:36 -04:00
|
|
|
|
2017-10-21 09:25:21 -04:00
|
|
|
matrix:
|
2017-12-22 13:25:46 -05:00
|
|
|
include:
|
2019-11-10 11:55:24 -05:00
|
|
|
# gcc on arm64
|
|
|
|
- compiler: gcc
|
|
|
|
arch: arm64
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- ccache
|
|
|
|
env: &Debug
|
2019-12-28 06:53:37 -05:00
|
|
|
- TRAVIS_CUBERITE_BUILD_TYPE=DEBUG
|
2017-12-22 13:25:46 -05:00
|
|
|
# AppleClang
|
|
|
|
# OSX workers are slower to start up. Having these first in the build matrix makes travis faster overall.
|
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
|
|
|
env: &Release
|
2019-12-28 06:53:37 -05:00
|
|
|
- TRAVIS_CUBERITE_BUILD_TYPE=RELEASE
|
2017-12-22 13:25:46 -05:00
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
2019-11-10 11:55:24 -05:00
|
|
|
env: *Debug
|
2017-12-22 13:25:46 -05:00
|
|
|
# Default clang
|
|
|
|
- compiler: clang
|
|
|
|
env: *Release
|
|
|
|
- compiler: clang
|
|
|
|
env: *Debug
|
|
|
|
# clang 3.5
|
|
|
|
- compiler: clang
|
2019-11-10 11:55:24 -05:00
|
|
|
dist: trusty
|
2017-12-22 13:25:46 -05:00
|
|
|
addons: &clang35
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- clang++-3.5
|
|
|
|
- clang-3.5
|
|
|
|
before_install:
|
|
|
|
- CC=clang-3.5;CXX=clang++-3.5
|
|
|
|
env: *Release
|
|
|
|
- compiler: clang
|
2019-11-10 11:55:24 -05:00
|
|
|
dist: trusty
|
2017-12-22 13:25:46 -05:00
|
|
|
addons: *clang35
|
|
|
|
before_install:
|
|
|
|
- CC=clang-3.5;CXX=clang++-3.5
|
|
|
|
env: *Debug
|
|
|
|
# gcc 4.8
|
|
|
|
- compiler: gcc
|
|
|
|
addons: &gcc48
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-4.8
|
|
|
|
- gcc-4.8
|
|
|
|
before_install:
|
|
|
|
- CC=gcc-4.8;CXX=g++-4.8
|
|
|
|
env: *Release
|
|
|
|
- compiler: gcc
|
|
|
|
addons: *gcc48
|
|
|
|
before_install:
|
|
|
|
- CC=gcc-4.8;CXX=g++-4.8
|
|
|
|
env: *Debug
|
2017-10-21 09:25:21 -04:00
|
|
|
|
2019-11-10 11:55:24 -05:00
|
|
|
before_script:
|
|
|
|
- export PATH=$(echo "$PATH" | sed -e 's/:\/usr\/lib\/ccache//')
|
2014-05-10 08:12:01 -04:00
|
|
|
script: ./CIbuild.sh
|
2019-11-10 11:55:24 -05:00
|
|
|
cache: ccache
|
|
|
|
|
2014-05-10 08:03:36 -04:00
|
|
|
|
2013-12-19 15:42:40 -05:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
2015-11-07 09:01:59 -05:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- coverity_scan
|
|
|
|
- master
|