• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash -ex
2
3case "${1}" in
4    install)
5        git clone --depth 1 https://github.com/shazow/urllib3
6        cd urllib3
7        git rev-parse HEAD
8        pip install -r ./dev-requirements.txt
9        pip install -e ".[socks]"
10        ;;
11    run)
12        cd urllib3
13        pytest test
14        ;;
15    *)
16        exit 1
17        ;;
18esac
19