aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
blob: dc3a4f57839bfbc60ff833817ecec39934000ea8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: c
dist: bionic
compiler: gcc
before_install:
  - muser_dir=$(pwd)
  - linux_dir=/tmp/linux
  - mkdir "${linux_dir}"
  - cd "${linux_dir}"
  - git init
  - git remote add origin git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
  - git fetch --depth 1 origin v5.2.21
  - git checkout FETCH_HEAD
  - patch -p1 < "${muser_dir}/patches/vfio.diff"
  - make olddefconfig
  - make prepare
  - cd "${muser_dir}"
script:
  - KDIR=/tmp/linux make