]> jfr.im git - irc/freenode/solanum.git/blame - .travis.yml
Add general::stats_l_oper_only
[irc/freenode/solanum.git] / .travis.yml
CommitLineData
a6f63a82 1# Travis-CI Build for solanum
e44504eb
VI
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
a860e8f6
EK
10branches:
11 only:
12 - main
13
e44504eb
VI
14matrix:
15 include:
16 - os: linux
a5c6d66a 17 compiler: gcc-7
e44504eb
VI
18 addons:
19 apt:
aecdd823 20 packages: ['gcc-7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
0e5b57c4
SA
21
22 - os: linux
a5c6d66a 23 compiler: gcc-8
0e5b57c4
SA
24 addons:
25 apt:
aecdd823 26 packages: ['gcc-8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
0e5b57c4 27
e44504eb 28 - os: linux
a5c6d66a 29 compiler: clang-7
ce960aa5
SA
30 addons:
31 apt:
aecdd823 32 packages: ['clang-7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
ce960aa5
SA
33
34 - os: linux
a5c6d66a 35 compiler: clang-8
ce960aa5
SA
36 addons:
37 apt:
aecdd823 38 packages: ['clang-8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
e44504eb
VI
39
40 - os: osx
5889d67d 41 osx_image: xcode7.3
e44504eb 42 compiler: clang
a5c6d66a 43 env: LIBTOOLIZE=glibtoolize
e44504eb 44
e44504eb
VI
45cache:
46 apt:
47 ccache:
48
49script:
9ea48ec3 50 - bash autogen.sh
d0a8ae2c 51 - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then CFLAGS=\"-Werror -Wno-unused-value -Wno-unused-parameter\" ./configure --with-shared-sqlite --enable-assert=hard --enable-warnings; fi"
a5c6d66a 52 - "if [ ${TRAVIS_OS_NAME} = 'osx' ]; then ./configure --with-shared-sqlite; fi"
e44504eb 53 - make -j4
728c3ed5 54 - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi"
e44504eb 55 - make install
82546fb7 56 - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make -C doc/oper-guide html man info; fi"