summaryrefslogblamecommitdiff
path: root/.travis.yml
blob: 35be21ba635f325fbd67c1ae599ef4896692c3bf (plain) (tree)
1
2
3
4
5
6
7
8
9
           
           





                             
           


                                  

              
            
 
       
                                      
 










                                                  
                                                                           
                   
                                                                                             
                 
                                                                           
                 
                                                                                             
                 
                                                                                                                                                     
                 
                                                                                                                                                                       
                 
                                                                                                                                                     
                 
                                                                                                                                                                       



              
         

             
language: c
sudo: false
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - gcc-5
    - gcc-6

install:
  - ./travis.sh getplugins || true
  
before_script:
  - uname -a

script:
  - ./travis.sh build $CONFIGURE_FLAGS

# We can't use this, unfortunately
# http://github.com/travis-ci/travis-ci/issues/979
#compiler:
#  - clang
#  - gcc

matrix:
  exclude:
  - env: ignore=this
  include:
  - compiler: clang
    env: CONFIGURE_FLAGS="--enable-debug --enable-Werror --enable-buildbot"
  - compiler: clang
    env: CONFIGURE_FLAGS="--enable-debug --disable-renewal --enable-Werror --enable-buildbot"
  - compiler: gcc
    env: CONFIGURE_FLAGS="--enable-debug --enable-Werror --enable-buildbot"
  - compiler: gcc
    env: CONFIGURE_FLAGS="--enable-debug --disable-renewal --enable-Werror --enable-buildbot"
  - compiler: gcc
    env: LDFLAGS="-fuse-ld=gold" CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-5 --disable-manager --enable-Werror --enable-buildbot"
  - compiler: gcc
    env: LDFLAGS="-fuse-ld=gold" CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-5 --disable-manager --disable-renewal --enable-Werror --enable-buildbot"
  - compiler: gcc
    env: LDFLAGS="-fuse-ld=gold" CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-6 --disable-manager --enable-Werror --enable-buildbot"
  - compiler: gcc
    env: LDFLAGS="-fuse-ld=gold" CONFIGURE_FLAGS="--enable-debug --enable-sanitize=full CC=gcc-6 --disable-manager --disable-renewal --enable-Werror --enable-buildbot"
  
notifications:
  email: false
  
branches:
  except:
    - rathena