-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
46 lines (39 loc) · 1.19 KB
/
.travis.yml
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
install:
# Pip cannot install Conan without these upgrades
- python3 -m pip install --upgrade pip setuptools
- python3 -m pip install --upgrade conan cmake
# Fail if we can't run Conan.
- conan --version
jobs:
include:
- os: osx
compiler: gcc
osx_image: xcode13.1
env:
- GCC_VER="11"
- MATRIX_EVAL="CC=gcc-${GCC_VER} && CXX=g++-${GCC_VER}
conan install . --profile .github/eu_conan_profile.toml --build=missing"
- os: linux
dist: bionic
compiler: gcc
env:
- GCC_VER="11"
- MATRIX_EVAL="CC=gcc-${GCC_VER} && CXX=g++-${GCC_VER}
conan install . --profile .github/eu_conan_profile.toml --build=missing"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-11
- gcc-11
- python3-pip
before_script:
- eval "${MATRIX_EVAL}"
script:
- export EUGENE_BUILD_TESTS=1
- export EUGENE_BUILD_BENCHMARKS=1
- cmake cmake -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11 .
- cmake --build . --config RelWithDebInfo
- ctest -VV -C RelWithDebInfo --no-tests=error --rerun-failed --output-on-failure