.travis.yml 981 B

123456789101112131415161718192021222324252627282930
  1. # This was a noble attempt, but it hits the current 50 minute job timeout :-)
  2. # https://travis-ci.org/cirosantilli/linux-kernel-module-cheat/builds/296454523
  3. # I bet it would likely hit a disk maxout either way if it went on.
  4. language: cpp
  5. sudo: required
  6. install: |
  7. cd "$TRAVIS_BUILD_DIR"
  8. bash -x ./configure -t
  9. script: |
  10. cd "$TRAVIS_BUILD_DIR"
  11. # -j: I'm unable to install nproc on Travis.
  12. # TODO why? Is part of coreutils in Ubuntu 16.04:
  13. # http://manpages.ubuntu.com/manpages/trusty/man1/nproc.1.html
  14. # which ./configure is installing.
  15. #
  16. # awk: without it, too much stdout (4Mb max)
  17. # If we ignore stdout: Travis kills job because it spent
  18. # too long without any new stdout.
  19. #
  20. # -S otherwise apt-get instlal fails with:
  21. # The following packages have unmet dependencies:
  22. # libsdl2-dev : Depends: libegl1-mesa-dev
  23. # Depends: libgles2-mesa-dev
  24. bash -x ./build -j 16 -S |& awk 'NR % 1000 == 0'
  25. bash -x ./run -e 'init=/poweroff.out'