2013-12-19 20:07:58 +00:00
|
|
|
language: cpp
|
2020-05-09 13:56:39 +00:00
|
|
|
cache: ccache
|
2014-05-10 12:03:36 +00:00
|
|
|
|
2017-12-22 18:25:46 +00:00
|
|
|
# Use Linux by default
|
|
|
|
os: linux
|
2020-05-09 13:56:39 +00:00
|
|
|
dist: bionic
|
|
|
|
|
|
|
|
# CMake version out of date: update
|
|
|
|
# TODO: add ARM64, PPC, SPARC builds when we find CMake for them
|
|
|
|
addons:
|
|
|
|
snaps:
|
|
|
|
- name: cmake
|
|
|
|
confinement: classic
|
|
|
|
channel: latest
|
2014-05-10 12:03:36 +00:00
|
|
|
|
2020-05-16 11:57:14 +00:00
|
|
|
jobs:
|
2017-12-22 18:25:46 +00:00
|
|
|
include:
|
|
|
|
# OSX workers are slower to start up. Having these first in the build matrix makes travis faster overall.
|
2020-05-16 11:57:14 +00:00
|
|
|
- name: "AppleClang - Release"
|
|
|
|
os: osx
|
2020-05-09 13:56:39 +00:00
|
|
|
osx_image: xcode11.3
|
2020-03-27 10:20:30 +00:00
|
|
|
before_install:
|
|
|
|
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
|
2017-12-22 18:25:46 +00:00
|
|
|
env: &Release
|
2019-12-28 11:53:37 +00:00
|
|
|
- TRAVIS_CUBERITE_BUILD_TYPE=RELEASE
|
2020-05-09 13:56:39 +00:00
|
|
|
|
2020-05-16 11:57:14 +00:00
|
|
|
- name: "AppleClang - Debug"
|
|
|
|
os: osx
|
2020-05-09 13:56:39 +00:00
|
|
|
osx_image: xcode11.3
|
2020-03-27 10:20:30 +00:00
|
|
|
before_install:
|
|
|
|
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
|
2020-05-09 13:56:39 +00:00
|
|
|
env: &Debug
|
|
|
|
- TRAVIS_CUBERITE_BUILD_TYPE=DEBUG
|
|
|
|
|
2020-05-16 11:57:14 +00:00
|
|
|
- name: "Clang 7.0 - Release"
|
|
|
|
compiler: clang
|
2020-05-09 13:56:39 +00:00
|
|
|
before_install: &use-cmake
|
|
|
|
- export PATH=/snap/bin/:${PATH}
|
2017-12-22 18:25:46 +00:00
|
|
|
env: *Release
|
2020-05-09 13:56:39 +00:00
|
|
|
|
2020-05-16 11:57:14 +00:00
|
|
|
- name: "Clang 7.0 - Debug"
|
|
|
|
compiler: clang
|
2020-05-09 13:56:39 +00:00
|
|
|
before_install: *use-cmake
|
2017-12-22 18:25:46 +00:00
|
|
|
env: *Debug
|
2020-05-09 13:56:39 +00:00
|
|
|
|
2020-05-16 11:57:14 +00:00
|
|
|
- name: "GCC 7.4 - Release, CMake 3.12"
|
|
|
|
compiler: gcc
|
2017-12-22 18:25:46 +00:00
|
|
|
env: *Release
|
2020-05-09 13:56:39 +00:00
|
|
|
|
2020-05-16 11:57:14 +00:00
|
|
|
- name: "GCC 7.4 - Debug"
|
|
|
|
compiler: gcc
|
2020-05-09 13:56:39 +00:00
|
|
|
before_install: *use-cmake
|
2017-12-22 18:25:46 +00:00
|
|
|
env: *Debug
|
2017-10-21 13:25:21 +00:00
|
|
|
|
2019-11-10 16:55:24 +00:00
|
|
|
before_script:
|
|
|
|
- export PATH=$(echo "$PATH" | sed -e 's/:\/usr\/lib\/ccache//')
|
2020-02-24 11:28:24 +00:00
|
|
|
script: ./travisbuild.sh
|
2014-05-10 12:03:36 +00:00
|
|
|
|
2013-12-19 20:42:40 +00:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
2015-11-07 14:01:59 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|