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 2
/
Copy path.travis.yml
50 lines (49 loc) · 1.82 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
47
48
49
50
# 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: ./configure --noisy && ./build.sh run-tests
before_install: git submodule update --init --recursive
install: source ./tools/enter-devenv.sh
sudo: false
addons:
apt:
packages:
- python-virtualenv
matrix:
include:
# Test a clang build in debug mode under valgrind.
- language: c
compiler: clang
script: ./configure --debug --valgrind --noisy && ./build.sh run-tests
before_install: git submodule update --init --recursive
install: source ./tools/enter-devenv.sh
addons:
apt:
packages:
- python-virtualenv
- valgrind
# Test a debug build with expensive checks but not under valgrind.
- language: c
compiler: clang
script: ./configure --debug --expchecks --noisy && ./build.sh run-ctrino-tests
before_install: git submodule update --init --recursive
install: source ./tools/enter-devenv.sh
# Test everything using an optimized clang build.
- language: c
compiler: clang
script: ./configure --noisy && ./build.sh run-ctrino-tests
before_install: git submodule update --init --recursive
install: source ./tools/enter-devenv.sh
# Test with checks disabled.
- languate: c
compiler: clang
script: ./configure --nochecks --noisy && ./build.sh run-ctrino-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: ./configure --debug --noisy && ./build.sh run-ctrino-tests
before_install: git submodule update --init --recursive
install: source ./tools/enter-devenv.sh