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
578 B

5 years ago
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: cargo build
  9. image: rustlang/rust:nightly
  10. volumes:
  11. - name: cache
  12. path: /usr/local/cargo
  13. - name: target-cache
  14. path: /drone/src/target
  15. commands:
  16. - cargo build
  17. - name: cargo test
  18. image: rustlang/rust:nightly
  19. volumes:
  20. - name: cache
  21. path: /usr/local/cargo
  22. - name: target-cache
  23. path: /drone/src/target
  24. commands:
  25. - cargo test
  26. volumes:
  27. - name: cache
  28. host:
  29. path: /home/drone/.cargo
  30. - name: target-cache
  31. host:
  32. path: /home/drone/cargo-cache