aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.travis.yml
blob: f79910c81f0853b5346ed115c5f47ff69c414ca9 (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
language: cpp
os: linux
dist: bionic

addons:
  apt:
    update: true
    packages:
      - g++-multilib

env:
  global:
    - travis_boost_version=1.71.0
  matrix:
    - configuration=Debug   platform=x86
    - configuration=Release platform=x86
    - configuration=Debug   platform=x64
    - configuration=Release platform=x64

before_script:
  - ./cmake/ci/boost/build_travis.py --with filesystem program_options test --link=static

script:
  - |-
    ./cmake/ci/build_travis.py           \
        --configuration "$configuration" \
        --install "$HOME/install"        \
        --toolchain ./cmake/toolchains/gcc-$platform.cmake \
        --boost "$HOME/boost_1_71_0"     \
        --boost-librarydir "$HOME/boost_1_71_0/stage/$platform/${configuration,,}/lib" \
        -- \
        -DENABLE_TESTS=ON
  - "$HOME/install/bin/math-server-unit-tests"