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