diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d007227c9b5adbbe877aef6e1c986adaeb5a206..865ba7d93f02a2739e2ebf8069df65690258806a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -84,11 +84,13 @@ variables: - sed 1d -i requirements.txt # GAMBIT to remove pillow<3 - ./bootstrap-conda.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX} - source ${CONDA_FOLDER}/bin/activate ${CONDA_PREFIX} - - conda install --yes -c conda-forge -p ${CONDA_PREFIX} jpeg==9b opencv==2.4.12 pillow==2.9.0 - - pip install --use-wheel --no-index --pre dist/*.whl + - conda install --yes -c conda-forge -p ${CONDA_PREFIX} jpeg==9b opencv==2.4.12 + - pip install --use-wheel --no-index --pre dist/*.whl script: - cd ${CONDA_PREFIX} - export PYTHONPATH="../PythonFaceEvaluation/src:$PYTHONPATH" + - sed -i "\$apillow=2.9.0" requirements.txt + - ./bin/buildout buildout:csu-dir=./PythonFaceEvaluation - python -c "from ${CI_PROJECT_NAME} import get_config; print(get_config())" - coverage run --source=${CI_PROJECT_NAME} ./bin/nosetests -sv ${CI_PROJECT_NAME} - coverage report