1
0
cuberite-2a/.travis.yml

66 lines
1.4 KiB
YAML
Raw Normal View History

2013-12-19 15:07:58 -05:00
language: cpp
cache: ccache
2014-05-10 08:03:36 -04:00
# Use Linux by default
os: linux
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 08:03:36 -04:00
2017-10-21 09:25:21 -04:00
matrix:
include:
# AppleClang Release
# OSX workers are slower to start up. Having these first in the build matrix makes travis faster overall.
- os: osx
osx_image: xcode11.3
2020-03-27 06:20:30 -04:00
before_install:
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
env: &Release
- TRAVIS_CUBERITE_BUILD_TYPE=RELEASE
# AppleClang Debug
- os: osx
osx_image: xcode11.3
2020-03-27 06:20:30 -04:00
before_install:
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
env: &Debug
- TRAVIS_CUBERITE_BUILD_TYPE=DEBUG
# Clang 7.0 - Release
- compiler: clang
before_install: &use-cmake
- export PATH=/snap/bin/:${PATH}
env: *Release
# Clang 7.0 - Debug
- compiler: clang
before_install: *use-cmake
env: *Debug
# GCC 7.4 - Release, CMake 3.12
- compiler: gcc
env: *Release
# GCC 7.4 - Debug
- compiler: gcc
before_install: *use-cmake
env: *Debug
2017-10-21 09:25:21 -04:00
before_script:
- export PATH=$(echo "$PATH" | sed -e 's/:\/usr\/lib\/ccache//')
script: ./travisbuild.sh
2014-05-10 08:03:36 -04:00
2013-12-19 15:42:40 -05:00
notifications:
email:
on_success: change
on_failure: always
branches:
only:
- master