]> jfr.im git - solanum.git/blobdiff - .travis.yml
Merge pull request #335 from edk0/post-registration-delay
[solanum.git] / .travis.yml
index 404f955db02ea1a1d64011e5a7a43c3b80d0d603..df5cfa315b32b6ac6486ea6099093e3fe4d94cd4 100644 (file)
@@ -4,48 +4,44 @@
 language: c
 
 # Use the faster container-based infrastructure.
+dist: bionic
 sudo: false
 
+notifications:
+  irc:
+    channels:
+    - "chat.freenode.net#charybdis"
+
 matrix:
   include:
     - os: linux
-      compiler: gcc
+      compiler: gcc-7
       addons:
         apt:
-          sources: ['ubuntu-toolchain-r-test']
-          packages: ['gcc-4.8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
-      env: COMPILER=gcc-4.8
+          packages: ['gcc-7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
 
     - os: linux
-      compiler: gcc
+      compiler: gcc-8
       addons:
         apt:
-          sources: ['ubuntu-toolchain-r-test']
-          packages: ['gcc-4.9', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
-      env: COMPILER=gcc-4.9
+          packages: ['gcc-8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
 
     - os: linux
-      compiler: gcc
+      compiler: clang-7
       addons:
         apt:
-          sources: ['ubuntu-toolchain-r-test']
-          packages: ['gcc-5', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
-      env: COMPILER=gcc-5
+          packages: ['clang-7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
 
     - os: linux
-      compiler: clang
+      compiler: clang-8
       addons:
         apt:
-          sources: ['ubuntu-toolchain-r-test', 'llvm-toolchain-precise-3.7']
-          packages: ['clang-3.7', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo']
-      env: COMPILER=clang-3.7
+          packages: ['clang-8', 'automake', 'autoconf', 'libtool', 'shtool', 'libsqlite3-dev', 'python-sphinx', 'texinfo', 'libhyperscan-dev']
 
     - os: osx
+      osx_image: xcode7.3
       compiler: clang
-      env: COMPILER=clang LIBTOOLIZE=glibtoolize
-
-
-osx_image: xcode7.3
+      env: LIBTOOLIZE=glibtoolize
 
 cache:
   apt:
@@ -53,7 +49,8 @@ cache:
 
 script:
   - bash autogen.sh
-  - CC=$COMPILER CFLAGS="-Wno-unused-value -Werror" ./configure --with-shared-sqlite --with-assert=hard --enable-warnings
+  - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then CFLAGS=\"-Werror -Wno-unused-value -Wno-unused-parameter\" ./configure --with-shared-sqlite --with-assert=hard --enable-warnings; fi"
+  - "if [ ${TRAVIS_OS_NAME} = 'osx' ]; then ./configure --with-shared-sqlite; fi"
   - make -j4
   - "if [ ${TRAVIS_OS_NAME} != 'osx' ]; then make check; fi"
   - make install