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

case "${1}" in
    install)
        git clone --depth 1 https://github.com/shazow/urllib3
        cd urllib3
        git rev-parse HEAD
        pip install -r ./dev-requirements.txt
        pip install -e ".[socks]"
        ;;
    run)
        cd urllib3
        pytest test
        ;;
    *)
        exit 1
        ;;
esac