1
0
mirror of https://github.com/bigchaindb/bigchaindb.git synced 2024-06-10 20:05:02 +02:00
bigchaindb/.ci/travis_script.sh
2017-01-09 14:03:57 +01:00

12 lines
236 B
Bash
Executable File

#!/bin/bash
set -e -x
if [[ -n ${TOXENV} ]]; then
tox -e ${TOXENV}
elif [[ "${BIGCHAINDB_DATABASE_BACKEND}" == mongodb ]]; then
pytest -vs --database-backend=mongodb --cov=bigchaindb
else
pytest -v -n auto --cov=bigchaindb
fi