Add in drone configuration with basic testing
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Emi Tatsuo 2020-12-21 13:42:22 -05:00
parent 260e5f9a8b
commit caf8e3ee50
Signed by: Emi
GPG key ID: 68FAB2E2E6DFC98B

17
.drone.yml Normal file
View file

@ -0,0 +1,17 @@
kind: pipeline
name: tests
steps:
# Tests ordered from quickest to slowest so failed builds fail quickly
- name: minimum-test
image: rust:1
commands:
- cargo test --no-default-features --features scgi_srv
- name: scgi-test
image: rust:1
commands:
- cargo test --no-default-features --features scgi_srv,user_management_advanced,user_management_routes,serve_dir,ratelimiting
- name: gemini-test
image: rust:1
commands:
- cargo test --features user_management_advanced,user_management_routes,serve_dir,ratelimiting