]> jfr.im git - solanum.git/blob - .travis.yml
df5cfa315b32b6ac6486ea6099093e3fe4d94cd4
[solanum.git] / .travis.yml
1 # Travis-CI Build for charybdis
2 # see travis-ci.org for details
3
4 language: c
5
6 # Use the faster container-based infrastructure.
7 dist: bionic
8 sudo: false
9
10 notifications:
11 irc:
12 channels:
13 - "chat.freenode.net#charybdis"
14
15 matrix:
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', 'libhyperscan-dev']
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', 'libhyperscan-dev']
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', 'libhyperscan-dev']
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', 'libhyperscan-dev']
40
41 - os: osx
42 osx_image: xcode7.3
43 compiler: clang
44 env: LIBTOOLIZE=glibtoolize
45
46 cache:
47 apt:
48 ccache:
49
50 script:
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"