.travis.yml 810 B

123456789101112131415161718192021222324252627
  1. language: cpp
  2. sudo: required
  3. install: |
  4. cd "$TRAVIS_BUILD_DIR"
  5. bash -x ./configure -t
  6. script: |
  7. cd "$TRAVIS_BUILD_DIR"
  8. # -j: I'm unable to install nproc on Travis.
  9. # TODO why? Is part of coreutils in Ubuntu 16.04:
  10. # http://manpages.ubuntu.com/manpages/trusty/man1/nproc.1.html
  11. # which ./configure is installing.
  12. #
  13. # awk: without it, too much stdout (4Mb max)
  14. # If we ignore stdout: Travis kills job because it spent
  15. # too long without any new stdout.
  16. #
  17. # -S otherwise apt-get instlal fails with:
  18. # The following packages have unmet dependencies:
  19. # libsdl2-dev : Depends: libegl1-mesa-dev
  20. # Depends: libgles2-mesa-dev
  21. bash -x ./build-qemu -j 16 -S |& awk 'NR % 1000 == 0'
  22. bash -x ./build -j 16 -S |& awk 'NR % 1000 == 0'
  23. bash -x ./run -e 'init=/poweroff.out'