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.

32 lines
549 B

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