ci: add Drone CI

This commit is contained in:
Bruno BELANYI 2021-02-08 17:39:46 +00:00
parent c49cb11109
commit 69519c45a6

24
.drone.yml Normal file
View file

@ -0,0 +1,24 @@
kind: pipeline
name: check config
steps:
- name: format check
image: nixos/nix
commands:
- nix-shell -p nixpkgs-fmt --run 'nixpkgs-fmt . --check'
- name: notify
image: plugins/matrix
settings:
homeserver:
from_secret: matrix_homeserver
roomid:
from_secret: matrix_roomid
username:
from_secret: matrix_username
password:
from_secret: matrix_password
trigger:
status:
- failure
- success