Adapting ci

parent a7c8a3d6
Pipeline #4135 failed with stage
in 1 minute and 2 seconds
......@@ -28,15 +28,8 @@ stages:
- ./_ci/install.sh _ci #updates
- ./_ci/before_build.sh
script:
- which python
- python bootstrap-buildout.py
#- ./bin/buildout -c buildout-before-patch.cfg
#- wget https://www.idiap.ch/software/bob/databases/latest/PythonFaceEvaluation.tar.bz2
#- mkdir PythonFaceEvaluation
#- tar -xjf PythonFaceEvaluation.tar.bz2 -C PythonFaceEvaluation
#- ./bin/patch_CSU.py PythonFaceEvaluation
#- ./bin/buildout buildout:csu-dir=PythonFaceEvaluation
#- ./bin/python setup.py bdist_wheel
- cp build.sh ./_ci
- ./_ci/build.sh
after_script:
- ./_ci/after_build.sh
artifacts:
......
#!/usr/bin/env bash
# Wed 21 Sep 2016 13:08:05 CEST
source $(dirname ${0})/functions.sh
run_cmd ./bin/buildout -c buildout-before-patch.cfg
run_cmd wget https://www.idiap.ch/software/bob/databases/latest/PythonFaceEvaluation.tar.bz2
run_cmd mkdir PythonFaceEvaluation
run_cmd tar -xjf PythonFaceEvaluation.tar.bz2 -C PythonFaceEvaluation
run_cmd /bin/patch_CSU.py PythonFaceEvaluation
run_cmd /bin/buildout buildout:csu-dir=PythonFaceEvaluation
if [ -x ./bin/bob_dbmanage.py ]; then
run_cmd ./bin/bob_dbmanage.py all download --force;
fi
if [ -d ./doc ]; then
run_cmd ./bin/sphinx-build -n -W doc sphinx
fi
if [ -z "${WHEEL_TAG}" ]; then
# C/C++ extensions
run_cmd ./bin/python setup.py bdist_wheel
else
# Python-only packages
run_cmd ./bin/python setup.py bdist_wheel --python-tag ${WHEEL_TAG}
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment