Reverted to the old ci

parent 4c4888bd
Pipeline #4187 failed with stages
in 4 minutes and 12 seconds
...@@ -84,11 +84,13 @@ variables: ...@@ -84,11 +84,13 @@ variables:
- sed 1d -i requirements.txt # GAMBIT to remove pillow<3 - sed 1d -i requirements.txt # GAMBIT to remove pillow<3
- ./bootstrap-conda.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX} - ./bootstrap-conda.sh ${CONDA_FOLDER} ${PYTHON_VER} ${CONDA_PREFIX}
- source ${CONDA_FOLDER}/bin/activate ${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 - conda install --yes -c conda-forge -p ${CONDA_PREFIX} jpeg==9b opencv==2.4.12
- pip install --use-wheel --no-index --pre dist/*.whl - pip install --use-wheel --no-index --pre dist/*.whl
script: script:
- cd ${CONDA_PREFIX} - cd ${CONDA_PREFIX}
- export PYTHONPATH="../PythonFaceEvaluation/src:$PYTHONPATH" - 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())" - 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 run --source=${CI_PROJECT_NAME} ./bin/nosetests -sv ${CI_PROJECT_NAME}
- coverage report - coverage report
......
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