]> jfr.im git - solanum.git/blame_incremental - .travis.yml
filter: match in two passes, before and after stripping
[solanum.git] / .travis.yml
... / ...
CommitLineData
1# Travis-CI Build for charybdis
2# see travis-ci.org for details
3
4language: c
5
6# Use the faster container-based infrastructure.
7dist: bionic
8sudo: false
9
10notifications:
11 irc:
12 channels:
13 - "chat.freenode.net#charybdis"
14
15matrix:
16 include:
17 - os: linux
18 compiler: gcc-7
19 addons:
20 apt:
21 packages: ['gcc-7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
22
23 - os: linux
24 compiler: gcc-8
25 addons:
26 apt:
27 packages: ['gcc-8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
28
29 - os: linux
30 compiler: clang-7
31 addons:
32 apt:
33 packages: ['clang-7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
34
35 - os: linux
36 compiler: clang-8
37 addons:
38 apt:
39 packages: ['clang-8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
40
41 - os: osx
42 osx_image: xcode7.3
43 compiler: clang
44 env: LIBTOOLIZE=glibtoolize
45
46cache:
47 apt:
48 ccache:
49
50script:
51 - bash autogen.sh
52 - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then CFLAGS=\"-Werror -Wno-unused-value -Wno-unused-parameter\" ./configure --with-shared-sqlite --with-assert=hard --enable-warnings; fi"
53 - "if [ ${TRAVIS_OS_NAME} = 'osx' ]; then ./configure --with-shared-sqlite; fi"
54 - make -j4
55 - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi"
56 - make install
57 - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make -C doc/oper-guide html man info; fi"