]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
travis: switch to gcc-10
authorEvgeny Vereshchagin <evvers@ya.ru>
Mon, 29 Jun 2020 13:56:06 +0000 (13:56 +0000)
committerEvgeny Vereshchagin <evvers@ya.ru>
Mon, 29 Jun 2020 14:28:42 +0000 (14:28 +0000)
to get around an ASan bug mentioned in https://github.com/karelzak/util-linux/issues/1076

.travis-functions.sh
.travis.yml

index 53066525ad8112fb6e220b2c845ca237cc4e0f86..420a4e95dbf375c01ca409fdf0a13120cee97793 100755 (executable)
@@ -132,6 +132,7 @@ function travis_install_script
 
        # install required packages
        sudo bash -c "echo 'deb-src http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs) main restricted universe multiverse' >>/etc/apt/sources.list"
+       sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
        sudo apt-get -qq update --fix-missing
        sudo apt-get build-dep -y util-linux
        sudo apt-get install -qq >/dev/null \
@@ -148,6 +149,8 @@ function travis_install_script
                socat \
                || return
 
+       sudo apt-get install -y gcc-10
+
        # install only if available (e.g. Ubuntu Trusty)
        sudo apt-get install -qq >/dev/null \
                libsystemd-daemon-dev \
index 85797e83083ca0e68ef803006f39d8196962923a..f12c4e25b609ac386f9e3bed7a2bd3bc1aa8263b 100644 (file)
@@ -7,7 +7,7 @@ git:
   depth: 1500
 
 compiler:
-  - gcc
+  - gcc-10
   - clang
 
 env: