.travis.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. language: rust
  2. matrix:
  3. include:
  4. ### Litmus check that we work on stable/beta
  5. # (we don't, not until slice_rotate lands)
  6. # - rust: stable
  7. # env: FEATURES='default' MODE='test'
  8. # - rust: beta
  9. # env: FEATURES='default' MODE='test'
  10. ### Test default configurations
  11. - rust: nightly
  12. env: FEATURES='default' MODE='test'
  13. ### Test select feature permutations, chosen to be as orthogonal as possible
  14. - rust: nightly
  15. env: FEATURES='std phy-raw_socket proto-ipv6 socket-udp' MODE='test'
  16. - rust: nightly
  17. env: FEATURES='std phy-tap_interface proto-ipv6 socket-udp' MODE='test'
  18. - rust: nightly
  19. env: FEATURES='std proto-ipv4 socket-raw' MODE='test'
  20. - rust: nightly
  21. env: FEATURES='std proto-ipv6 socket-udp' MODE='test'
  22. - rust: nightly
  23. env: FEATURES='std proto-ipv6 socket-tcp' MODE='test'
  24. - rust: nightly
  25. env: FEATURES='std proto-ipv4 socket-icmp socket-tcp' MODE='test'
  26. - rust: nightly
  27. env: FEATURES='std proto-ipv6 socket-icmp socket-tcp' MODE='test'
  28. ### Test select feature permutations, chosen to be as aggressive as possible
  29. - rust: nightly
  30. env: FEATURES='proto-ipv4 proto-ipv6 socket-raw socket-udp socket-tcp socket-icmp std'
  31. MODE='test'
  32. - rust: nightly
  33. env: FEATURES='proto-ipv4 proto-ipv6 socket-raw socket-udp socket-tcp socket-icmp alloc'
  34. MODE='test'
  35. - rust: nightly
  36. env: FEATURES='proto-ipv4 proto-ipv6 socket-raw socket-udp socket-tcp socket-icmp'
  37. MODE='build'
  38. - rust: nightly
  39. env: MODE='fuzz run' ARGS='packet_parser -- -max_len=1536 -max_total_time=30'
  40. script:
  41. - cargo $MODE --no-default-features --features "$FEATURES" $ARGS
  42. notifications:
  43. irc:
  44. channels:
  45. - "chat.freenode.net#m-labs"
  46. use_notice: true
  47. skip_join: true