aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.travis.yml
blob: 675a929901dca469fbcbac325100dc56cd668cb0 (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
46
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:
        travis_boost_version: 1.65.0
        configuration: MinSizeRel
        platform: x64