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

case "${1}" in
    install)
        git clone --depth=1 https://github.com/twisted/twisted
        cd twisted
        pip install -e .[tls,conch,http2]
        ;;
    run)
        cd twisted
        python -m twisted.trial src/twisted
        ;;
    *)
        exit 1
        ;;
esac