.travis.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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: osx
  14. env: FLAGS="CC=clang"
  15. - os: linux
  16. env: FLAGS="CC=gcc"
  17. - os: linux
  18. env: FLAGS="CC=gcc ARCH=i686" # implies -m32 -march=i686
  19. addons:
  20. apt:
  21. packages:
  22. - gcc-multilib
  23. - os: linux
  24. env: FLAGS="CC=aarch64-linux-gnu-gcc" TEST_FLAGS="LDFLAGS=-static"
  25. addons:
  26. apt:
  27. packages:
  28. - gcc-aarch64-linux-gnu
  29. - libc6-dev-arm64-cross
  30. - qemu-user-static
  31. - binfmt-support
  32. notifications:
  33. email: false