X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/9b24cbdecc72337e825764f39cdf59ca23f41788..e52893db934d9c0245cba0e193db5660e1e81866:/.travis.yml diff --git a/.travis.yml b/.travis.yml index 68dba8a5..4611482c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ matrix: addons: apt: sources: ['ubuntu-toolchain-r-test'] - packages: ['gcc-4.8', 'automake', 'autoconf', 'libtool'] + packages: ['gcc-4.8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo'] env: COMPILER=gcc-4.8 - os: linux @@ -21,7 +21,7 @@ matrix: addons: apt: sources: ['ubuntu-toolchain-r-test'] - packages: ['gcc-4.9', 'automake', 'autoconf', 'libtool'] + packages: ['gcc-4.9', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo'] env: COMPILER=gcc-4.9 - os: linux @@ -29,15 +29,31 @@ matrix: addons: apt: sources: ['ubuntu-toolchain-r-test'] - packages: ['gcc-5', 'automake', 'autoconf', 'libtool'] + packages: ['gcc-5', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo'] env: COMPILER=gcc-5 + - os: linux + compiler: gcc + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['gcc-7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo'] + env: COMPILER=gcc-7 + + - os: linux + compiler: gcc + addons: + apt: + sources: ['ubuntu-toolchain-r-test'] + packages: ['gcc-8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo'] + env: COMPILER=gcc-8 + - os: linux compiler: clang addons: apt: sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.7'] - packages: ['clang-3.7', 'automake', 'autoconf', 'libtool'] + packages: ['clang-3.7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo'] env: COMPILER=clang-3.7 - os: osx @@ -53,6 +69,8 @@ cache: script: - bash autogen.sh - - CC=$COMPILER ./configure + - CC=$COMPILER CFLAGS="-Werror -Wno-unused-value -Wno-unused-parameter -Wno-unused-variable" ./configure --with-shared-sqlite --with-assert=hard --enable-warnings - make -j4 + - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi" - make install + - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make -C doc/oper-guide html man info; fi"