diff options
Diffstat (limited to '.travis/downstream.d/aws-encryption-sdk.sh')
| -rwxr-xr-x | .travis/downstream.d/aws-encryption-sdk.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.travis/downstream.d/aws-encryption-sdk.sh b/.travis/downstream.d/aws-encryption-sdk.sh new file mode 100755 index 00000000..d986c749 --- /dev/null +++ b/.travis/downstream.d/aws-encryption-sdk.sh @@ -0,0 +1,18 @@ +#!/bin/bash -ex + +case "${1}" in + install) + git clone --depth=1 https://github.com/awslabs/aws-encryption-sdk-python + cd aws-encryption-sdk-python + git rev-parse HEAD + pip install -e . + pip install -r test/upstream-requirements-py27.txt + ;; + run) + cd aws-encryption-sdk-python + pytest -m local test/ + ;; + *) + exit 1 + ;; +esac |
