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

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