]> jfr.im git - irc/charybdis-ircd/charybdis.git/blame - .travis.yml
charybdis is officially discontinued
[irc/charybdis-ircd/charybdis.git] / .travis.yml
CommitLineData
e44504eb
VI
1# Travis-CI Build for charybdis
2# see travis-ci.org for details
3
4language: c
5
6# Use the faster container-based infrastructure.
a5c6d66a 7dist: bionic
e44504eb
VI
8sudo: false
9
a52e9463
SA
10notifications:
11 irc:
12 channels:
13 - "chat.freenode.net#charybdis"
14
e44504eb
VI
15matrix:
16 include:
17 - os: linux
a5c6d66a 18 compiler: gcc-7
e44504eb
VI
19 addons:
20 apt:
aecdd823 21 packages: ['gcc-7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
0e5b57c4
SA
22
23 - os: linux
a5c6d66a 24 compiler: gcc-8
0e5b57c4
SA
25 addons:
26 apt:
aecdd823 27 packages: ['gcc-8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
0e5b57c4 28
e44504eb 29 - os: linux
a5c6d66a 30 compiler: clang-7
ce960aa5
SA
31 addons:
32 apt:
aecdd823 33 packages: ['clang-7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
ce960aa5
SA
34
35 - os: linux
a5c6d66a 36 compiler: clang-8
ce960aa5
SA
37 addons:
38 apt:
aecdd823 39 packages: ['clang-8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
e44504eb
VI
40
41 - os: osx
5889d67d 42 osx_image: xcode7.3
e44504eb 43 compiler: clang
a5c6d66a 44 env: LIBTOOLIZE=glibtoolize
e44504eb 45
e44504eb
VI
46cache:
47 apt:
48 ccache:
49
50script:
9ea48ec3 51 - bash autogen.sh
a5c6d66a
AJ
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"
e44504eb 54 - make -j4
728c3ed5 55 - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi"
e44504eb 56 - make install
82546fb7 57 - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make -C doc/oper-guide html man info; fi"