From a87ad2ecbc482ca09803ecd77a8e77e39f941a6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Bremv=C3=A5g?= Date: Fri, 24 May 2019 18:54:44 +0200 Subject: [PATCH] Update travis.yml --- .travis.yml | 78 ++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 62 insertions(+), 16 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7621ea3..e756aaa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,12 +3,13 @@ compiler: gcc sudo: required before_install: + - sudo apt-get clean + - sudo apt-get update + - sudo apt-get install dpkg - export ALL_DEB=$(wget --quiet -O - ${KERNEL_URL}v${KVER}/ | grep -o 'href=".*"' | grep -m1 all | cut -d '"' -f 2) - export KVER_BUILD=$(echo $ALL_DEB | cut -d '_' -f 1 | cut -c15-) - wget ${KERNEL_URL}v${KVER}/$(wget --quiet -O - ${KERNEL_URL}v${KVER}/ | grep -o 'href=".*"' | grep headers | grep generic | grep -m1 amd64 | cut -d '"' -f 2) - wget ${KERNEL_URL}v${KVER}/$ALL_DEB - - sudo apt-get update - - sudo apt-get install -y dpkg # to upgrade to dpkg >= 1.17.5ubuntu5.8, which fixes https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1730627 - sudo dpkg -i *.deb script: @@ -30,7 +31,7 @@ matrix: - gcc-5 - libelf-dev - libssl1.1 - env: COMPILER=gcc-5 KVER=4.20-rc1 + env: COMPILER=gcc-5 KVER=5.0 - compiler: gcc addons: apt: @@ -41,7 +42,7 @@ matrix: - gcc-6 - libelf-dev - libssl1.1 - env: COMPILER=gcc-6 KVER=4.19.1 + env: COMPILER=gcc-6 KVER=5.0 - compiler: gcc addons: apt: @@ -52,7 +53,7 @@ matrix: - gcc-7 - libelf-dev - libssl1.1 - env: COMPILER=gcc-7 KVER=4.19.1 + env: COMPILER=gcc-7 KVER=5.0 - compiler: gcc addons: apt: @@ -60,7 +61,61 @@ matrix: - ubuntu-toolchain-r-test packages: - gcc-5 - env: COMPILER=gcc-5 KVER=4.4.97 + - libelf-dev + env: COMPILER=gcc-5 KVER=4.15 + - compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-6 + - libelf-dev + env: COMPILER=gcc-6 KVER=4.15 + - compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-7 + - libelf-dev + env: COMPILER=gcc-7 KVER=4.15 + - compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-5 + - libelf-dev + env: COMPILER=gcc-5 KVER=4.14.16 + - compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-6 + - libelf-dev + env: COMPILER=gcc-6 KVER=4.14.16 + - compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-7 + - libelf-dev + env: COMPILER=gcc-7 KVER=4.14.16 + - compiler: gcc + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-6 + env: COMPILER=gcc-6 KVER=4.9.51 - compiler: gcc addons: apt: @@ -68,13 +123,4 @@ matrix: - ubuntu-toolchain-r-test packages: - gcc-4.9 - env: COMPILER=gcc-4.9 KVER=3.16.50 - - compiler: gcc - addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - gcc-5 - env: COMPILER=gcc-5 KVER=3.14.79 - +env: COMPILER=gcc-4.9 KVER=3.16.48