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

case "${1}" in
    install)
        git clone --depth=1 https://github.com/certbot/josepy
        cd josepy
        git rev-parse HEAD
        pip install -e ".[tests]" -c constraints.txt
        ;;
    run)
        cd josepy
        pytest src
        ;;
    *)
        exit 1
        ;;
esac