From 129348282a41412dfe006443ec0b62da14ec98df Mon Sep 17 00:00:00 2001 From: Matt Bullock Date: Thu, 30 Aug 2018 12:25:33 -0700 Subject: 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 --- .travis/downstream.d/aws-encryption-sdk.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 .travis/downstream.d/aws-encryption-sdk.sh (limited to '.travis/downstream.d/aws-encryption-sdk.sh') diff --git a/.travis/downstream.d/aws-encryption-sdk.sh b/.travis/downstream.d/aws-encryption-sdk.sh new file mode 100755 index 00000000..e478cd8a --- /dev/null +++ b/.travis/downstream.d/aws-encryption-sdk.sh @@ -0,0 +1,17 @@ +#!/bin/bash + +case "${1}" in + install) + git clone --depth=1 https://github.com/awslabs/aws-encryption-sdk-python + cd aws-encryption-sdk-python + pip install -r test/requirements.txt + pip install -e . + ;; + run) + cd aws-encryption-sdk-python + pytest -m local test/ + ;; + *) + exit 1 + ;; +esac -- cgit v1.2.3