1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-10 08:07:05 +00:00

Add Travis CI file for build tests

This commit is contained in:
kimocoder 2019-08-24 03:40:36 +02:00
parent 9a6825e3b0
commit 458645a732

View File

@ -4,9 +4,6 @@ sudo: required
dist: xenial dist: xenial
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)
@ -28,7 +25,7 @@ matrix:
- sourceline: 'ppa:ondrej/nginx-mainline' - sourceline: 'ppa:ondrej/nginx-mainline'
packages: packages:
- libssl1.1 - libssl1.1
env: COMPILER=gcc-5 KVER=5.2-rc1 env: COMPILER=gcc-5 KVER=5.2-rc2
- compiler: gcc - compiler: gcc
addons: addons:
apt: apt:
@ -38,7 +35,7 @@ matrix:
packages: packages:
- gcc-6 - gcc-6
- libssl1.1 - libssl1.1
env: COMPILER=gcc-6 KVER=5.2-rc1 env: COMPILER=gcc-6 KVER=5.2-rc2
- compiler: gcc - compiler: gcc
addons: addons:
apt: apt:
@ -48,15 +45,13 @@ matrix:
packages: packages:
- gcc-7 - gcc-7
- libssl1.1 - libssl1.1
env: COMPILER=gcc-7 KVER=5.2-rc1 env: COMPILER=gcc-7 KVER=5.2-rc2
- compiler: gcc - compiler: gcc
addons: addons:
apt: apt:
sources: sources:
- sourceline: 'ppa:ondrej/nginx-mainline' - sourceline: 'ppa:ondrej/nginx-mainline'
packages: packages:
- gcc-5
- libelf-dev
- libssl1.1 - libssl1.1
env: COMPILER=gcc-5 KVER=4.19.45 env: COMPILER=gcc-5 KVER=4.19.45
- compiler: gcc - compiler: gcc
@ -67,15 +62,6 @@ matrix:
- sourceline: 'ppa:ondrej/nginx-mainline' - sourceline: 'ppa:ondrej/nginx-mainline'
packages: packages:
- gcc-6 - gcc-6
- libelf-dev
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
- libelf-dev
- libssl1.1 - libssl1.1
env: COMPILER=gcc-6 KVER=4.19.45 env: COMPILER=gcc-6 KVER=4.19.45
- compiler: gcc - compiler: gcc
@ -85,45 +71,6 @@ matrix:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
- sourceline: 'ppa:ondrej/nginx-mainline' - sourceline: 'ppa:ondrej/nginx-mainline'
packages: 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:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
env: COMPILER=gcc-4.9 KVER=3.16.48
- gcc-7 - gcc-7
- libssl1.1 - libssl1.1
env: COMPILER=gcc-7 KVER=4.19.45 env: COMPILER=gcc-7 KVER=4.19.45
- compiler: gcc
env: COMPILER=gcc-5 KVER=3.14.79