aboutsummaryrefslogtreecommitdiffstats
path: root/.travis/downstream.d/aws-encryption-sdk.sh
blob: 044f70d9438567eb6db8ac7a88237bd576456155 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash -ex

case "${1}" in
    install)
        git clone --depth=1 https://github.com/awslabs/aws-encryption-sdk-python
        cd aws-encryption-sdk-python
        pip install -e .
        pip install -r test/upstream-requirements-py27.txt
        ;;
    run)
        cd aws-encryption-sdk-python
        pytest -m local test/
        ;;
    *)
        exit 1
        ;;
esac