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.

29 lines
460 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. commands:
  11. - cargo build
  12. - name: clippy!
  13. image: rustlang/rust:nightly
  14. commands:
  15. - cargo clippy -- --deny warnings
  16. - name: test
  17. image: rustlang/rust:nightly
  18. commands:
  19. - cargo test --jobs 1
  20. volumes:
  21. - name: cache
  22. host:
  23. path: /home/drone/.cargo
  24. - name: target-cache
  25. host:
  26. path: /home/drone/cargo-cache