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.

38 lines
622 B

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. ---
  2. kind: pipeline
  3. type: docker
  4. name: test elseware
  5. concurrency:
  6. limit: 1
  7. steps:
  8. - name: build
  9. image: rustlang/rust:nightly
  10. volumes:
  11. - name: cache
  12. path: /usr/local/cargo
  13. commands:
  14. - cargo build
  15. - name: clippy!
  16. image: rustlang/rust:nightly
  17. volumes:
  18. - name: cache
  19. path: /usr/local/cargo
  20. commands:
  21. - cargo clippy -- --deny warnings
  22. - name: test
  23. image: rustlang/rust:nightly
  24. volumes:
  25. - name: cache
  26. path: /usr/local/cargo
  27. commands:
  28. - cargo test --jobs 1
  29. volumes:
  30. - name: cache
  31. host:
  32. path: /home/drone/.cargo
  33. - name: target-cache
  34. host:
  35. path: /home/drone/cargo-cache