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

case "${1}" in
    install)
        git clone --depth=1 https://github.com/certbot/certbot
        cd certbot
        git rev-parse HEAD
        pip install -e ./acme[dev]
        pip install -e ./certbot[dev]
        ;;
    run)
        cd certbot
        # Ignore some warnings for now since they're now automatically promoted
        # to errors. We can probably remove this when acme gets split into
        # its own repo
        pytest -Wignore certbot/tests
        pytest acme
        ;;
    *)
        exit 1
        ;;
esac