Debian Codegraph @

.github/downstream.d/certbot.sh

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