.travis.yml 1.0 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # We require a full (virtual) machine to load the kernel module for
  2. # binfmt support, which is needed to test other architectures besides
  3. # x86 using qemu user emulation. (This will not work in a container.)
  4. sudo: required
  5. dist: trusty
  6. language: c
  7. script:
  8. - make $FLAGS
  9. - make check $FLAGS $TEST_FLAGS
  10. - make clean && git status --ignored --porcelain && test -z "$(git status --ignored --porcelain)"
  11. matrix:
  12. include:
  13. - os: linux
  14. env: FLAGS="CC=gcc"
  15. - os: linux
  16. env: FLAGS="CC=gcc ARCH=i686" # implies -m32 -march=i686
  17. addons:
  18. apt:
  19. packages:
  20. - gcc-multilib
  21. - os: linux
  22. env: FLAGS="CC=aarch64-linux-gnu-gcc" TEST_FLAGS="LDFLAGS=-static"
  23. addons:
  24. apt:
  25. packages:
  26. - gcc-aarch64-linux-gnu
  27. - libc6-dev-arm64-cross
  28. - qemu-user-static
  29. - binfmt-support
  30. notifications:
  31. email: false