aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/downstream.d/certbot-josepy.sh
diff options
context:
space:
mode:
authorMatt Bullock <bullocm@amazon.com>2018-08-30 12:25:33 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2018-08-30 15:25:33 -0400
commit129348282a41412dfe006443ec0b62da14ec98df (patch)
treec7751580ad60d633c21b9b756c6c40714b1b80c0 /.travis/downstream.d/certbot-josepy.sh
parent00c0b237732412c0e360217048178f7952031901 (diff)
downloadcryptography-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/certbot-josepy.sh')
-rwxr-xr-x.travis/downstream.d/certbot-josepy.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/.travis/downstream.d/certbot-josepy.sh b/.travis/downstream.d/certbot-josepy.sh
new file mode 100755
index 00000000..47de2e29
--- /dev/null
+++ b/.travis/downstream.d/certbot-josepy.sh
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+case "${1}" in
+ install)
+ git clone --depth=1 https://github.com/certbot/josepy
+ cd josepy
+ pip install -e ".[tests]"
+ ;;
+ run)
+ cd josepy
+ pytest src
+ ;;
+ *)
+ exit 1
+ ;;
+esac