This repository has been archived by the owner on Jan 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
35 lines (34 loc) · 1.58 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
# The default build. It really makes no difference which target is the default
# and which are defined though the build matrix.
language: c
compiler: gcc
script: mkmk init --config chorus.mkmk --debug --noisy && ./build.sh all run-tests
before_install: git submodule update --init --recursive
install: source ./tools/enter-devenv.sh
sudo: require
matrix:
include:
# Test a clang build in debug mode under valgrind.
- language: c
compiler: clang
script: mkmk init --config chorus.mkmk --debug --valgrind --valgrind-flag "suppressions=./tests/c/valgrind.supp" --noisy && ./build.sh all run-tests
before_install: git submodule update --init --recursive
install: source ./tools/enter-devenv.sh && sudo apt-get update && sudo apt-get install valgrind
# Test everything using an optimized clang build.
- language: c
compiler: clang
script: mkmk init --config chorus.mkmk --noisy && ./build.sh all run-tests
before_install: git submodule update --init --recursive
install: source ./tools/enter-devenv.sh
# Test with checks disabled.
- languate: c
compiler: clang
script: mkmk init --config chorus.mkmk --nochecks --noisy && ./build.sh all run-tests
before_install: git submodule update --init --recursive
install: source ./tools/enter-devenv.sh
# Check that the C code compiles using gcc.
- language: c
compiler: gcc
script: mkmk init --config chorus.mkmk --debug --noisy && ./build.sh all run-tests
before_install: git submodule update --init --recursive
install: source ./tools/enter-devenv.sh