Add GCC 10 build to Travis config.
Github: closes
@@ -29,6 +29,16 @@ matrix:
- name: Maintainer-mode, -Werror (Focal)
dist: focal
env: NOTEST_CFLAGS=-Werror CONFIG="--enable-maintainer-mode"
+ - name: GCC 10, maintainer-mode, -Werror (Focal)
+ dist: focal
+ env: NOTEST_CFLAGS="-Werror -O2" CONFIG="--enable-maintainer-mode" CC=gcc-10
+ addons:
+ apt:
+ sources:
+ - sourceline: 'ppa:ubuntu-toolchain-r/test'
+ packages:
+ - libtool-bin
+ - gcc-10
before_script: sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'
