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







                
             
                    


                                                                          
 

          
                            









                                                                                        
 

                                 


                                      
 
                      
                                           
 
                      
                                           
 
                      
                                           
          
                             
                                 
                     
language: cpp
os: linux
dist: bionic

addons:
  apt:
    update: true
    packages:
      - cmake
      - g++-multilib
    sources:
      - sourceline: 'deb https://apt.kitware.com/ubuntu/ bionic main'
        key_url: 'https://apt.kitware.com/keys/kitware-archive-latest.asc'

jobs:
  include:
    - name: Run clang-format
      language: shell
      addons:
        apt:
          update: true
          packages:
            - clang-format-9
          sources:
            - sourceline: 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-9 main'
              key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
      script: ./tools/clang-format.py --clang-format clang-format-9

    - name: Simple CMake projects
      script:
        - make -f .ci/Makefile simple
        - make -f .ci/Makefile static
        - make -f .ci/Makefile dynamic

    - name: Boost 1.58
      script: make -f .ci/Makefile boost/58

    - name: Boost 1.72
      script: make -f .ci/Makefile boost/72

    - name: Boost 1.65
      script: make -f .ci/Makefile boost/65
      env:
        boost_version: 1.65.0
        configuration: MinSizeRel
        platform: x64