diff options
author | Matt Bullock <bullocm@amazon.com> | 2018-08-30 12:25:33 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2018-08-30 15:25:33 -0400 |
commit | 129348282a41412dfe006443ec0b62da14ec98df (patch) | |
tree | c7751580ad60d633c21b9b756c6c40714b1b80c0 /.travis/downstream.d/twisted.sh | |
parent | 00c0b237732412c0e360217048178f7952031901 (diff) | |
download | cryptography-129348282a41412dfe006443ec0b62da14ec98df.tar.gz cryptography-129348282a41412dfe006443ec0b62da14ec98df.tar.bz2 cryptography-129348282a41412dfe006443ec0b62da14ec98df.zip |
reorganize downstream tests to avoid dependency squashing (#4418)
* reorganize downstream tests
* fix run.sh syntax
* add instructions for adding more downstream tests
* rework downstream CI test guide into rst readme
* remove unnecessary example test handler
* all test handlers should "exit 1" if an unexpected argument is received
Diffstat (limited to '.travis/downstream.d/twisted.sh')
-rwxr-xr-x | .travis/downstream.d/twisted.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.travis/downstream.d/twisted.sh b/.travis/downstream.d/twisted.sh new file mode 100755 index 00000000..cb25027a --- /dev/null +++ b/.travis/downstream.d/twisted.sh @@ -0,0 +1,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 |