pgadmin4/ci/build_tarballs.sh

17 lines
437 B
Bash
Raw Normal View History

#!/bin/sh
echo "EXECUTING: Build Tarballs"
echo
cd $WORKSPACE
. $WORKSPACE/pgadmin-venv/bin/activate
2017-03-30 21:11:08 +00:00
SPHINX_VER=""
2017-03-30 21:19:22 +00:00
if [ "$PYTHON_VERSION" = "2.6" -o "$PYTHON_VERSION" = "3.3" ]; then
2017-03-30 21:11:08 +00:00
SPHINX_VER="==1.4.9"
fi
$WORKSPACE/pgadmin-venv/bin/pip install Sphinx$SPHINX_VER || { echo 'ERROR: Failed to install Sphinx to build the tarballs.' ; exit 1; }
cd $WORKSPACE/
make src || { echo 'ERROR: Failed to build the tarballs.' ; exit 1; }