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

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