add drone.yml

pull/7/head
Max Erenberg 2 years ago
parent 14c058eb67
commit 14273dcbe6
  1. 20
      .drone.yml
  2. 2
      README.md

@ -0,0 +1,20 @@
kind: pipeline
type: docker
name: phosphoric-acid
steps:
- name: run tests
image: python:3.7-buster
# unfortunately we have to do everything in one step because there's no
# way to share system packages between steps
commands:
# install dependencies
- apt update && apt install -y libkrb5-dev libsasl2-dev python3-dev
- python3 -m venv venv
- . venv/bin/activate
- pip install -r requirements.txt
- pip install -r dev-requirements.txt
- cd ceo_common/krb5 && python krb5_build.py && cd ../..
# lint
- flake8
# add more!

@ -1,4 +1,6 @@
# pyceo
[![Build Status](https://ci.csclub.uwaterloo.ca/api/badges/public/pyceo/status.svg)](https://ci.csclub.uwaterloo.ca/public/pyceo)
CEO (**C**SC **E**lectronic **O**ffice) is the tool used by CSC to manage
club accounts and memberships. See [architecture.md](architecture.md) for an
overview of its architecture.

Loading…
Cancel
Save