blob: b1e3c2dc0c0f749c703a3ae6eb11952796ddbac3 (
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
|
language: cpp
os: linux
dist: bionic
addons:
apt:
update: true
packages:
- g++-multilib
jobs:
include:
- name: Simple CMake projects
script:
- ./cmake/build/build.py --install "$HOME/install/simple" --configuration Release -- cmake/examples/simple
- "$HOME/install/simple/bin/foo"
- ./cmake/build/build.py --install "$HOME/install/static" --configuration Debug -- cmake/examples/static
- "$HOME/install/static/bin/foo"
- ./cmake/build/build.py --install "$HOME/install/dynamic" --configuration Release -- cmake/examples/dynamic
- LD_LIBRARY_PATH="$HOME/install/dynamic/lib" "$HOME/install/dynamic/bin/foo"
- name: Boost 1.58
script:
- ./boost/build/build.py download 1.58.0
- ./boost/build/build.py build --configuration Debug --platform x86 -- ./boost_1_58_0 --with-filesystem --with-program_options
- bash -o pipefail -c 'find boost_1_58_0/stage -type f | sort'
- name: Boost 1.72
script:
- ./boost/build/build.py download --cache . 1.72.0
- ./boost/build/build.py build --configuration Debug Release --platform x86 x64 --link shared -- ./boost_1_72_0 --with-filesystem --with-program_options
- bash -o pipefail -c 'find boost_1_72_0/stage -type f | sort'
- name: Boost 1.65
script:
- ./boost/build/ci/travis.py --link static -- --with-filesystem --with-program_options
- bash -o pipefail -c 'find "$HOME/boost_1_65_0/stage" -type f | sort'
env:
travis_boost_version: 1.65.0
configuration: Release
platform: x64
|