2016-02-09 23:00:30 +00:00
|
|
|
# Travis-CI Build for charybdis
|
|
|
|
# see travis-ci.org for details
|
|
|
|
|
|
|
|
language: c
|
|
|
|
|
|
|
|
# Use the faster container-based infrastructure.
|
|
|
|
sudo: false
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources: ['ubuntu-toolchain-r-test']
|
2018-08-12 08:40:40 +00:00
|
|
|
packages: ['gcc-4.8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
|
2016-02-09 23:00:30 +00:00
|
|
|
env: COMPILER=gcc-4.8
|
|
|
|
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources: ['ubuntu-toolchain-r-test']
|
2018-08-12 08:40:40 +00:00
|
|
|
packages: ['gcc-4.9', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
|
2016-02-09 23:00:30 +00:00
|
|
|
env: COMPILER=gcc-4.9
|
|
|
|
|
|
|
|
- os: linux
|
|
|
|
compiler: gcc
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources: ['ubuntu-toolchain-r-test']
|
2018-08-12 08:40:40 +00:00
|
|
|
packages: ['gcc-5', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
|
2016-02-09 23:00:30 +00:00
|
|
|
env: COMPILER=gcc-5
|
|
|
|
|
|
|
|
- os: linux
|
|
|
|
compiler: clang
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.7']
|
2018-08-12 08:40:40 +00:00
|
|
|
packages: ['clang-3.7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
|
2016-02-09 23:00:30 +00:00
|
|
|
env: COMPILER=clang-3.7
|
|
|
|
|
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
2016-03-05 23:47:48 +00:00
|
|
|
env: COMPILER=clang LIBTOOLIZE=glibtoolize
|
2016-02-09 23:00:30 +00:00
|
|
|
|
2016-03-10 17:32:46 +00:00
|
|
|
|
2016-02-09 23:00:30 +00:00
|
|
|
osx_image: xcode7.3
|
|
|
|
|
|
|
|
cache:
|
|
|
|
apt:
|
|
|
|
ccache:
|
|
|
|
|
|
|
|
script:
|
2016-03-05 23:47:48 +00:00
|
|
|
- bash autogen.sh
|
2016-05-05 03:54:38 +00:00
|
|
|
- CC=$COMPILER ./configure --with-shared-sqlite
|
2016-02-09 23:00:30 +00:00
|
|
|
- make -j4
|
2019-07-07 18:35:13 +00:00
|
|
|
- make check
|
2016-02-09 23:00:30 +00:00
|
|
|
- make install
|
2018-08-12 09:01:56 +00:00
|
|
|
- "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make -C doc/oper-guide html man info; fi"
|