]>
Commit | Line | Data |
---|---|---|
e44504eb VI |
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. | |
a5c6d66a | 7 | dist: bionic |
e44504eb VI |
8 | sudo: false |
9 | ||
a52e9463 SA |
10 | notifications: |
11 | irc: | |
12 | channels: | |
13 | - "chat.freenode.net#charybdis" | |
14 | ||
e44504eb VI |
15 | matrix: |
16 | include: | |
17 | - os: linux | |
a5c6d66a | 18 | compiler: gcc-7 |
e44504eb VI |
19 | addons: |
20 | apt: | |
0e5b57c4 | 21 | packages: ['gcc-7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo'] |
0e5b57c4 SA |
22 | |
23 | - os: linux | |
a5c6d66a | 24 | compiler: gcc-8 |
0e5b57c4 SA |
25 | addons: |
26 | apt: | |
0e5b57c4 | 27 | packages: ['gcc-8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo'] |
0e5b57c4 | 28 | |
e44504eb | 29 | - os: linux |
a5c6d66a | 30 | compiler: clang-7 |
ce960aa5 SA |
31 | addons: |
32 | apt: | |
a5c6d66a | 33 | packages: ['clang-7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo'] |
ce960aa5 SA |
34 | |
35 | - os: linux | |
a5c6d66a | 36 | compiler: clang-8 |
ce960aa5 SA |
37 | addons: |
38 | apt: | |
a5c6d66a | 39 | packages: ['clang-8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo'] |
e44504eb VI |
40 | |
41 | - os: osx | |
5889d67d | 42 | osx_image: xcode7.3 |
e44504eb | 43 | compiler: clang |
a5c6d66a | 44 | env: LIBTOOLIZE=glibtoolize |
e44504eb | 45 | |
e44504eb VI |
46 | cache: |
47 | apt: | |
48 | ccache: | |
49 | ||
50 | script: | |
9ea48ec3 | 51 | - bash autogen.sh |
a5c6d66a AJ |
52 | - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then CFLAGS=\"-Werror -Wno-unused-value -Wno-unused-parameter\" ./configure --with-shared-sqlite --with-assert=hard --enable-warnings; fi" |
53 | - "if [ ${TRAVIS_OS_NAME} = 'osx' ]; then ./configure --with-shared-sqlite; fi" | |
e44504eb | 54 | - make -j4 |
728c3ed5 | 55 | - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi" |
e44504eb | 56 | - make install |
82546fb7 | 57 | - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make -C doc/oper-guide html man info; fi" |