Update travis.yml

This commit is contained in:
Christian Bremvåg 2019-05-24 18:54:44 +02:00 committed by GitHub
parent f2298e305f
commit a87ad2ecbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,12 +3,13 @@ compiler: gcc
sudo: required sudo: required
before_install: 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 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-) - 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}/$(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 - 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 - sudo dpkg -i *.deb
script: script:
@ -30,7 +31,7 @@ matrix:
- gcc-5 - gcc-5
- libelf-dev - libelf-dev
- libssl1.1 - libssl1.1
env: COMPILER=gcc-5 KVER=4.20-rc1 env: COMPILER=gcc-5 KVER=5.0
- compiler: gcc - compiler: gcc
addons: addons:
apt: apt:
@ -41,7 +42,7 @@ matrix:
- gcc-6 - gcc-6
- libelf-dev - libelf-dev
- libssl1.1 - libssl1.1
env: COMPILER=gcc-6 KVER=4.19.1 env: COMPILER=gcc-6 KVER=5.0
- compiler: gcc - compiler: gcc
addons: addons:
apt: apt:
@ -52,7 +53,7 @@ matrix:
- gcc-7 - gcc-7
- libelf-dev - libelf-dev
- libssl1.1 - libssl1.1
env: COMPILER=gcc-7 KVER=4.19.1 env: COMPILER=gcc-7 KVER=5.0
- compiler: gcc - compiler: gcc
addons: addons:
apt: apt:
@ -60,7 +61,61 @@ matrix:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- gcc-5 - 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 - compiler: gcc
addons: addons:
apt: apt:
@ -68,13 +123,4 @@ matrix:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- gcc-4.9 - gcc-4.9
env: COMPILER=gcc-4.9 KVER=3.16.50 env: COMPILER=gcc-4.9 KVER=3.16.48
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-5
env: COMPILER=gcc-5 KVER=3.14.79