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.

34 lines
580 B

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