.travis.yml 1006 B

12345678910111213141516171819
  1. os: linux
  2. language: c
  3. env:
  4. global:
  5. - MAKEOPTS=-j3
  6. - GLOBAL_CFLAGS='-O2 -Wall'
  7. - GLOBAL_CONFIGURE_ARGS='--prefix=/usr'
  8. matrix:
  9. fast_finish: true
  10. include:
  11. - compiler: ": Full GCC"
  12. # Upgrade GCC to avoid false warnings; build the full project with -Werror
  13. env: myCC='gcc' UBUNTU_DEPS='gcc libhidapi-dev linux-libc-dev' EXTRA_DEPS='pkg-config libncursesw5-dev libudev-dev libusb-1.0-0-dev libevent-dev libmicrohttpd-dev libi2c-dev yasm libsensors4-dev' BUILD_CFLAGS='-Werror' CONFIGURE_ARGS='--enable-other-drivers --enable-scrypt'
  14. - compiler: ": Full LLVM"
  15. env: myCC='clang' UBUNTU_DEPS='libhidapi-dev linux-libc-dev' EXTRA_DEPS='pkg-config libncursesw5-dev libudev-dev libusb-1.0-0-dev libevent-dev libmicrohttpd-dev libi2c-dev yasm libsensors4-dev' BUILD_CFLAGS='-Werror' CONFIGURE_ARGS='--enable-other-drivers --enable-scrypt'
  16. install:
  17. - bash .travis.deps I-am-okay-with-destroying-my-system
  18. script:
  19. - bash .travis.script I-am-okay-with-destroying-my-system