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