1#!/bin/bash -ex 2 3case "${1}" in 4 install) 5 git clone --depth=1 https://github.com/certbot/certbot 6 cd certbot 7 git rev-parse HEAD 8 pip install -e acme[dev] 9 pip install -e .[dev] 10 ;; 11 run) 12 cd certbot 13 # Ignore some warnings for now since they're now automatically promoted 14 # to errors. We can probably remove this when acme gets split into 15 # its own repo 16 pytest -Wignore certbot/tests 17 pytest acme 18 ;; 19 *) 20 exit 1 21 ;; 22esac 23