You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
565 B

  1. language: rust
  2. dist: xenial
  3. rust:
  4. - "1.32.0"
  5. - "1.33.0"
  6. - "1.34.2"
  7. - "1.35.0"
  8. - "1.36.0"
  9. - "1.37.0"
  10. - "stable"
  11. - "beta"
  12. - "nightly"
  13. matrix:
  14. allow_failure:
  15. - rust: "nightly"
  16. include:
  17. - name: Run cargo audit
  18. rust: stable
  19. env: TASK=audit
  20. fast_finish: true
  21. install:
  22. - cargo build --verbose
  23. - if [ "$TASK" = "audit" ]; then cargo install cargo-audit; fi
  24. script:
  25. - if [ "$TASK" = "audit" ]; then
  26. cargo audit;
  27. else
  28. cargo test --verbose;
  29. fi