]> jfr.im git - solanum.git/blame - .travis.yml
Fix GCC 8 compiler warnings
[solanum.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.
7sudo: false
8
9matrix:
10 include:
11 - os: linux
12 compiler: gcc
13 addons:
14 apt:
15 sources: ['ubuntu-toolchain-r-test']
3a484c2c 16 packages: ['gcc-4.8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
e44504eb
VI
17 env: COMPILER=gcc-4.8
18
19 - os: linux
20 compiler: gcc
21 addons:
22 apt:
23 sources: ['ubuntu-toolchain-r-test']
3a484c2c 24 packages: ['gcc-4.9', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
e44504eb
VI
25 env: COMPILER=gcc-4.9
26
27 - os: linux
28 compiler: gcc
29 addons:
30 apt:
31 sources: ['ubuntu-toolchain-r-test']
3a484c2c 32 packages: ['gcc-5', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
e44504eb
VI
33 env: COMPILER=gcc-5
34
0e5b57c4
SA
35 - os: linux
36 compiler: gcc
37 addons:
38 apt:
39 sources: ['ubuntu-toolchain-r-test']
40 packages: ['gcc-7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
41 env: COMPILER=gcc-7
42
43 - os: linux
44 compiler: gcc
45 addons:
46 apt:
47 sources: ['ubuntu-toolchain-r-test']
48 packages: ['gcc-8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
49 env: COMPILER=gcc-8
50
e44504eb
VI
51 - os: linux
52 compiler: clang
53 addons:
54 apt:
55 sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.7']
3a484c2c 56 packages: ['clang-3.7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
e44504eb
VI
57 env: COMPILER=clang-3.7
58
59 - os: osx
60 compiler: clang
9ea48ec3 61 env: COMPILER=clang LIBTOOLIZE=glibtoolize
e44504eb 62
467a0a79 63
e44504eb
VI
64osx_image: xcode7.3
65
66cache:
67 apt:
68 ccache:
69
70script:
9ea48ec3 71 - bash autogen.sh
b55caab9 72 - CC=$COMPILER CFLAGS="-Werror -Wno-unused-value -Wno-unused-parameter -Wno-unused-variable" ./configure --with-shared-sqlite --with-assert=hard --enable-warnings
e44504eb 73 - make -j4
728c3ed5 74 - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi"
e44504eb 75 - make install
82546fb7 76 - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make -C doc/oper-guide html man info; fi"