-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (29 loc) · 839 Bytes
/
.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
language: cpp
dist: xenial
# Keep CMake up-to-date
addons:
apt:
sources:
- sourceline: "deb https://apt.kitware.com/ubuntu/ xenial main"
key_url: 'https://apt.kitware.com/keys/kitware-archive-latest.asc'
packages:
- cmake
# Choose operating systems.
os:
- linux
- osx
# Choose compilers.
compiler:
- clang
- gcc
# XXX: HACK to select the correct CMake/CTest binary.
before_script:
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then
export CMAKE=/usr/bin/cmake; export CTEST=/usr/bin/ctest;
else
export CMAKE=cmake; export CTEST=ctest;
fi
- wget https://gist.githubusercontent.com/jiverson002/f5f6db706b69cf0cd0975848bbf5ecb7/raw/dev-buildconfig
# Override default script.
script:
- $CMAKE -DEFIKA_BUILDCONFIG_FILE=dev-buildconfig . && $CMAKE --build . && $CTEST --output-on-failure