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.

33 lines
563 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. - "stable"
  11. - "beta"
  12. - "nightly"
  13. jobs:
  14. allow_failure:
  15. - rust: "nightly"
  16. include:
  17. - name: Run cargo audit
  18. rust: stable
  19. env: TASK=audit
  20. fast_finish: true
  21. install:
  22. - cargo build --verbose
  23. - if [ "$TASK" = "audit" ]; then cargo install cargo-audit; fi
  24. script:
  25. - if [ "$TASK" = "audit" ]; then
  26. cargo audit;
  27. else
  28. cargo test --verbose;
  29. fi