]> jfr.im git - solanum.git/blobdiff - .travis.yml
ircd: Zero out the global_client_list
[solanum.git] / .travis.yml
index e9915c1a7e4e7b828285a91ed77480dfbedb3111..70ff82ae355e36a4929c17579ad674717f871478 100644 (file)
@@ -32,6 +32,22 @@ matrix:
           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:
@@ -53,8 +69,8 @@ cache:
 
 script:
   - bash autogen.sh
-  - CC=$COMPILER ./configure --with-shared-sqlite
+  - CC=$COMPILER CFLAGS="-Wno-unused-value -Werror" ./configure --with-shared-sqlite --with-assert=hard --enable-warnings
   - make -j4
-  - make check
+  - "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"