aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/downstream.d/certbot.sh
blob: 78ec7f51aaedd995c6a058335a245c38ccbb222e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash -ex

case "${1}" in
    install)
        git clone --depth=1 https://github.com/certbot/certbot
        cd certbot
        pip install pytest pytest-mock mock
        pip install -e acme
        pip install -e .
        ;;
    run)
        cd certbot
        pytest certbot/tests
        pytest acme
        ;;
    *)
        exit 1
        ;;
esac