summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 759de03f9d79f6b5061f8c137973f848e2320149 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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