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
534 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. - "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