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.

31 lines
536 B

  1. language: rust
  2. rust:
  3. - "1.40.0"
  4. - "1.41.1"
  5. - "1.42.0"
  6. - "1.43.1"
  7. - "1.44.1"
  8. - "stable"
  9. - "beta"
  10. - "nightly"
  11. jobs:
  12. allow_failures:
  13. - rust: "nightly"
  14. include:
  15. - name: Run cargo audit
  16. rust: stable
  17. env: TASK=audit
  18. fast_finish: true
  19. install:
  20. - cargo build --verbose
  21. - if [ "$TASK" = "audit" ]; then cargo install cargo-audit; fi
  22. script:
  23. - if [ "$TASK" = "audit" ]; then
  24. cargo audit;
  25. else
  26. cargo test --verbose;
  27. fi