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

             

           
              
                                
 

         



                                                         

                                        







                               

               




                                                                                                              

              
                                      

               
                   


                     


              
                                                                                                       
language: cpp

sudo: false

notifications:
  irc: "chat.freenode.net##crow"

compiler:
  - gcc

env:
  matrix:
    - COMPILER=g++-4.8 CCOMPILER=gcc-4.8 PUSH_COVERAGE=ON
    - COMPILER=g++-4.9 CCOMPILER=gcc-4.9
    - COMPILER=g++-5 CCOMPILER=gcc-5

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
      - boost-latest
    packages:
      - g++-4.8
      - g++-4.9
      - g++-5
      - libboost1.55-all-dev
      - python-pip

install:
  - if [ "$PUSH_COVERAGE" == "ON" ]; then pip install --user git+git://github.com/eddyxu/cpp-coveralls.git; fi

before_script:
  - export CXX=$COMPILER CC=$CCOMPILER
  - mkdir build
  - cd build
  - cmake --version
  - cmake ..

script: make && ctest

after_success:
  - cd ..
  - if [ "PUSH_COVERAGE" == "ON" ]; then coveralls --gcov gcov-4.8 -i include --gcov-options '\-lp'; fi