2016-12-07 18:42:26 +01:00
|
|
|
#!/bin/bash
|
2020-04-06 11:52:18 +02:00
|
|
|
# Copyright © 2020 Interplanetary Database Association e.V.,
|
|
|
|
# BigchainDB and IPDB software contributors.
|
2018-08-16 12:31:32 +02:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 AND CC-BY-4.0)
|
|
|
|
# Code is Apache-2.0 and docs are CC-BY-4.0
|
|
|
|
|
2016-12-07 18:42:26 +01:00
|
|
|
|
|
|
|
set -e -x
|
|
|
|
|
|
|
|
pip install --upgrade pip
|
|
|
|
|
2016-12-08 17:58:26 +01:00
|
|
|
if [[ -n ${TOXENV} ]]; then
|
|
|
|
pip install --upgrade tox
|
2018-04-10 17:29:25 +02:00
|
|
|
elif [[ ${BIGCHAINDB_CI_ABCI} == 'enable' ]]; then
|
|
|
|
docker-compose build --no-cache --build-arg abci_status=enable bigchaindb
|
2018-04-30 14:43:39 +02:00
|
|
|
elif [[ $BIGCHAINDB_INTEGRATION_TEST == 'enable' ]]; then
|
|
|
|
docker-compose build bigchaindb python-driver
|
2016-12-08 17:58:26 +01:00
|
|
|
else
|
2018-03-21 12:42:43 +01:00
|
|
|
docker-compose build --no-cache bigchaindb
|
2016-12-07 18:42:26 +01:00
|
|
|
pip install --upgrade codecov
|
|
|
|
fi
|