46 lines
605 B
YAML
46 lines
605 B
YAML
language: cpp
|
|
sudo: false
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
|
|
matrix:
|
|
exclude:
|
|
- os: osx
|
|
compiler: gcc
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- g++-4.8
|
|
- gdb
|
|
|
|
|
|
before_script:
|
|
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
|
|
brew update;
|
|
brew install gdb;
|
|
fi
|
|
|
|
script: ./CIbuild.sh
|
|
|
|
env:
|
|
- TRAVIS_CUBERITE_BUILD_TYPE=RELEASE CUBERITE_PATH=./Cuberite
|
|
- TRAVIS_CUBERITE_BUILD_TYPE=DEBUG CUBERITE_PATH=./Cuberite_debug
|
|
|
|
notifications:
|
|
email:
|
|
on_success: change
|
|
on_failure: always
|
|
branches:
|
|
only:
|
|
- coverity_scan
|
|
- master
|