.travis.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. language: rust
  2. matrix:
  3. include:
  4. # litmus check that we work on stable/beta
  5. - rust: stable
  6. env: FEATURES='default' MODE='test'
  7. - rust: beta
  8. env: FEATURES='default' MODE='test'
  9. # actually test everything
  10. - rust: nightly
  11. env: FEATURES='default' MODE='test'
  12. - rust: nightly
  13. env: FEATURES='phy-raw_socket socket-udp' MODE='build'
  14. - rust: nightly
  15. env: FEATURES='phy-tap_interface socket-udp' MODE='build'
  16. - rust: nightly
  17. env: FEATURES='socket-raw' MODE='build'
  18. - rust: nightly
  19. env: FEATURES='socket-udp' MODE='build'
  20. - rust: nightly
  21. env: FEATURES='socket-tcp' MODE='build'
  22. - rust: nightly
  23. env: FEATURES='socket-icmp' MODE='build'
  24. - rust: nightly
  25. env: FEATURES='socket-raw socket-udp socket-tcp socket-icmp' MODE='build'
  26. - rust: nightly
  27. env: FEATURES='socket-raw socket-udp socket-tcp socket-icmp std' MODE='build'
  28. - rust: nightly
  29. env: FEATURES='socket-raw socket-udp socket-tcp socket-icmp alloc' MODE='build'
  30. script:
  31. - cargo "$MODE" --no-default-features --features "$FEATURES"
  32. notifications:
  33. irc:
  34. channels:
  35. - "chat.freenode.net#m-labs"
  36. use_notice: true
  37. skip_join: true