summaryrefslogtreecommitdiff
path: root/.github/downstream.d/paramiko.sh
blob: 82ab9c1f9748e54db776c03dab47e93acce0ebdc (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/paramiko/paramiko
        cd paramiko
        git rev-parse HEAD
        pip install -e .
        pip install -r dev-requirements.txt
        ;;
    run)
        cd paramiko
        # https://github.com/paramiko/paramiko/issues/1927
        inv test || inv test
        ;;
    *)
        exit 1
        ;;
esac