summaryrefslogblamecommitdiffstats
path: root/.travis.yml
blob: 759de03f9d79f6b5061f8c137973f848e2320149 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
             
           
 



       
         

       
 




                 





                             
         
 






                                          
                    
 
    

                                                                     
 



                      



                   
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