aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.travis.yml
blob: 2a284e0686ec50c7c1e1c1a9466277c8b6f73e0a (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
47
# Linux builds are only to make sure the project can be built w/ MinGW-w64 &
# GCC.

language: cpp
os: linux
dist: focal

env:
  global:
    boost_version: 1.65.0
  jobs:
    # Building only Debug is fine, it's not going anywhere anyway:
    - configuration=Debug   platform=x86
    - configuration=Debug   platform=x64
    #- configuration=Release platform=x86
    #- configuration=Release platform=x64

before_script:
  - cd cmake
  - >-
    python3 -m project.ci.travis.boost
    --mingw
    --
    --with-test

script: >-
    python3 -m project.ci.travis.cmake
    --install "$HOME/install"
    --mingw

jobs:
  fast_finish: true

  _clear: &clear
    language: minimal
    before_script: []
    script: []

  include:
    - <<: *clear
      name: Run clang-format
      if: branch = master
      addons:
        apt:
          packages:
            - clang-format-9
      script: ./cmake/tools/clang-format.py --clang-format clang-format-9