Files
deb-python-dcos/bin/test.sh

14 lines
204 B
Bash
Executable File

#!/bin/bash -e
BASEDIR=`dirname $0`/..
cd $BASEDIR
if [ -f "$BASEDIR/env/bin/activate" ]; then
source $BASEDIR/env/bin/activate
else
$BASEDIR/env/Scripts/activate
fi
echo "Virtualenv activated."
tox