diff --git a/.travis.yml b/.travis.yml index 1a90a6c..0838ac3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,7 @@ +# This was a noble attempt, but it hits the current 50 minute job timeout :-) +# https://travis-ci.org/cirosantilli/linux-kernel-module-cheat/builds/296454523 +# I bet it would likely hit a disk maxout either way if it went on. + language: cpp sudo: required @@ -8,5 +12,13 @@ install: | script: | cd "$TRAVIS_BUILD_DIR" + # -j: I'm unable to install nproc on Travis. + # TODO why? Is part of coreutils in Ubuntu 16.04: + # http://manpages.ubuntu.com/manpages/trusty/man1/nproc.1.html + # which ./configure is installing. + # + # awk: without it, too much stdout (4Mb max) + # If we ignore stdout: Travis kills job because it spent + # too long without any new stdout. bash -x ./build -j 16 |& awk 'NR % 1000 == 0' bash -x ./run -e 'init=/poweroff.out' -n diff --git a/README.md b/README.md index 46302d8..31f0272 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,5 @@ # Linux Kernel Module Cheat -[![Build Status](https://travis-ci.org/cirosantilli/linux-kernel-module-cheat.svg?branch=master)](https://travis-ci.org/cirosantilli/linux-kernel-module-cheat) - Run one command, get a QEMU Buildroot BusyBox virtual machine built from source with several minimal Linux kernel 4.9 module development example tutorials with GDB and KGDB debug and minimal QEMU educational models. Tested in x86, ARM and MIPS guests, Ubuntu 14.04 - 17.04 hosts. ![](screenshot.png)