forked from openpmix/openpmix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (56 loc) · 1.6 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
51
52
53
54
55
56
57
58
59
60
61
62
63
sudo: false
dist: xenial
arch:
- amd64
- ppc64le
cache:
apt: true
language: python
python:
- "3.5"
addons:
apt:
packages:
- perl
- pandoc
- libevent-dev
- libhwloc-dev
env:
global:
- AM_MAKEFLAGS="-j4"
- PRRTE_PREFIX="$HOME/bogus"
- PRRTE_CONFIGURE_ARGS="--prefix=$PRRTE_PREFIX"
- DISTCHECK_CONFIGURE_FLAGS="$PRRTE_CONFIGURE_ARGS --disable-dlopen"
jobs:
fast_finish: true
include:
- compiler: gcc
env:
- CFLAGS="-Wall -Wextra -Wno-unused-function -Wno-unused-parameter -Wno-type-limits -Wno-missing-field-initializers -Wno-sign-compare -Wno-missing-braces"
ENABLE_WERROR="--enable-werror"
- compiler: gcc
env:
- CFLAGS="-fsanitize=undefined" # TODO: add -fsanitize=address
- compiler: clang
env:
- CFLAGS="-Wall -Wextra -Wno-unused-function -Wno-unused-parameter -Wno-type-limits -Wno-missing-field-initializers -Wno-sign-compare -Wno-missing-braces"
ENABLE_WERROR="--enable-werror"
# TODO:
#- compiler: clang
# env:
# - CFLAGS="-fsanitize=address"
# ASAN_OPTIONS=detect_stack_use_after_return=1:detect_leaks=1:check_initialization_order=true:strict_init_order=true:detect_stack_use_after_scope=1
- compiler: clang
env:
- CFLAGS="-fsanitize=undefined"
script:
# prepare
# build
- ./autogen.pl
- pip install -q cython
- ./configure ${ENABLE_WERROR}
- if [ $? -ne 0 ]; then cat config.log; fi
- make all
# test
- make check
- cat test/test-suite.log