Commit 7fae0609 authored by André Anjos's avatar André Anjos 💬
Browse files

[ci] Update CI scripts

parent 68b2984b
Pipeline #3153 passed with stages
in 13 minutes and 30 seconds
...@@ -34,6 +34,7 @@ variables: ...@@ -34,6 +34,7 @@ variables:
BOB_DOCUMENTATION_SERVER: "http://www.idiap.ch/software/bob/docs/latest/bob/%s/master/" BOB_DOCUMENTATION_SERVER: "http://www.idiap.ch/software/bob/docs/latest/bob/%s/master/"
script: script:
- ./bin/buildout - ./bin/buildout
- if [ -x ./bin/bob_db_manage.py ]; then ./bin/bob_db_manage.py all download --force; fi
- ./bin/sphinx-build doc sphinx - ./bin/sphinx-build doc sphinx
- ./bin/python setup.py bdist_wheel --python-tag ${WHEEL_TAG} - ./bin/python setup.py bdist_wheel --python-tag ${WHEEL_TAG}
after_script: after_script:
...@@ -79,7 +80,6 @@ variables: ...@@ -79,7 +80,6 @@ variables:
script: script:
- cd ${CONDA_PREFIX} - cd ${CONDA_PREFIX}
- python -c "from ${CI_PROJECT_NAME} import get_config; print(get_config())" - python -c "from ${CI_PROJECT_NAME} import get_config; print(get_config())"
- if [ -x ${CONDA_PREFIX}/bin/bob_db_manage.py ]; then ${CONDA_PREFIX}/bin/bob_db_manage.py all download -v; fi
- 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
- sphinx-build -b doctest ../doc ../sphinx - sphinx-build -b doctest ../doc ../sphinx
......
...@@ -11,3 +11,4 @@ verbose = true ...@@ -11,3 +11,4 @@ verbose = true
[scripts] [scripts]
recipe = bob.buildout:scripts recipe = bob.buildout:scripts
dependent-scripts = true
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