]>
Commit | Line | Data |
---|---|---|
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 | notifications: | |
10 | irc: | |
11 | channels: | |
12 | - "chat.freenode.net#charybdis" | |
13 | ||
14 | matrix: | |
15 | include: | |
16 | - os: linux | |
17 | compiler: gcc | |
18 | addons: | |
19 | apt: | |
20 | sources: ['ubuntu-toolchain-r-test'] | |
21 | packages: ['gcc-4.8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo'] | |
22 | env: COMPILER=gcc-4.8 | |
23 | ||
24 | - os: linux | |
25 | compiler: gcc | |
26 | addons: | |
27 | apt: | |
28 | sources: ['ubuntu-toolchain-r-test'] | |
29 | packages: ['gcc-4.9', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo'] | |
30 | env: COMPILER=gcc-4.9 | |
31 | ||
32 | - os: linux | |
33 | compiler: gcc | |
34 | addons: | |
35 | apt: | |
36 | sources: ['ubuntu-toolchain-r-test'] | |
37 | packages: ['gcc-5', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo'] | |
38 | env: COMPILER=gcc-5 | |
39 | ||
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 | ||
56 | - os: linux | |
57 | compiler: clang | |
58 | addons: | |
59 | apt: | |
60 | sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.7'] | |
61 | packages: ['clang-3.7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo'] | |
62 | env: COMPILER=clang-3.7 | |
63 | ||
64 | - os: osx | |
65 | compiler: clang | |
66 | env: COMPILER=clang LIBTOOLIZE=glibtoolize | |
67 | ||
68 | ||
69 | osx_image: xcode7.3 | |
70 | ||
71 | cache: | |
72 | apt: | |
73 | ccache: | |
74 | ||
75 | script: | |
76 | - bash autogen.sh | |
77 | - CC=$COMPILER CFLAGS="-Werror -Wno-unused-value -Wno-unused-parameter -Wno-unused-variable" ./configure --with-shared-sqlite --with-assert=hard --enable-warnings | |
78 | - make -j4 | |
79 | - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi" | |
80 | - make install | |
81 | - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make -C doc/oper-guide html man info; fi" |