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.

35 lines
593 B

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