]> jfr.im git - solanum.git/blame_incremental - .travis.yml
chmode: Get elevated access for op-only queries
[solanum.git] / .travis.yml
... / ...
CommitLineData
1# Travis-CI Build for solanum
2# see travis-ci.org for details
3
4language: c
5
6# Use the faster container-based infrastructure.
7dist: bionic
8sudo: false
9
10branches:
11 only:
12 - main
13
14matrix:
15 include:
16 - os: linux
17 compiler: gcc-7
18 addons:
19 apt:
20 packages: ['gcc-7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
21
22 - os: linux
23 compiler: gcc-8
24 addons:
25 apt:
26 packages: ['gcc-8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
27
28 - os: linux
29 compiler: clang-7
30 addons:
31 apt:
32 packages: ['clang-7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
33
34 - os: linux
35 compiler: clang-8
36 addons:
37 apt:
38 packages: ['clang-8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
39
40 - os: osx
41 osx_image: xcode7.3
42 compiler: clang
43 env: LIBTOOLIZE=glibtoolize
44
45cache:
46 apt:
47 ccache:
48
49script:
50 - bash autogen.sh
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"
52 - "if [ ${TRAVIS_OS_NAME} = 'osx' ]; then ./configure --with-shared-sqlite; fi"
53 - make -j4
54 - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi"
55 - make install
56 - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make -C doc/oper-guide html man info; fi"