Files
linux-kernel-module-cheat/.travis.yml
Ciro Santilli 六四事件 法轮功 8372b1653c configure: use long option names
2018-09-15 16:13:42 +01:00

22 lines
658 B
YAML

language: cpp
sudo: required
install: |
cd "$TRAVIS_BUILD_DIR"
bash -x ./configure --travis
script: |
cd "$TRAVIS_BUILD_DIR"
# --nproc: 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-qemu --nproc 16 |& awk 'NR % 1000 == 0'
bash -x ./build-buildroot --nproc 16 |& awk 'NR % 1000 == 0'
bash -x ./run --kernel-cli 'init=/poweroff.out'