aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/downstream.d/pyopenssl.sh
blob: 89e4e3e7ec3390a847003df80c519188449691c5 (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/pyca/pyopenssl
        cd pyopenssl
        git rev-parse HEAD
        pip install -e ".[test]"
        ;;
    run)
        cd pyopenssl
        pytest tests
        ;;
    *)
        exit 1
        ;;
esac