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