• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash -ex
2
3case "${1}" in
4    install)
5        git clone --depth=1 https://github.com/awslabs/aws-encryption-sdk-python
6        cd aws-encryption-sdk-python
7        git rev-parse HEAD
8        pip install -e .
9        pip install -r test/upstream-requirements-py27.txt
10        ;;
11    run)
12        cd aws-encryption-sdk-python
13        pytest -m local test/
14        ;;
15    *)
16        exit 1
17        ;;
18esac
19