]> jfr.im git - solanum.git/blobdiff - .travis.yml
Fix compiler warning for SeesOper
[solanum.git] / .travis.yml
index 68dba8a51c4f7601411455d567d3580b809da420..404f955db02ea1a1d64011e5a7a43c3b80d0d603 100644 (file)
@@ -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,7 +29,7 @@ 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
@@ -37,7 +37,7 @@ matrix:
       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 +53,8 @@ cache:
 
 script:
   - bash autogen.sh
-  - CC=$COMPILER ./configure
+  - CC=$COMPILER CFLAGS="-Wno-unused-value -Werror" ./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"