test.sh 563 Bytes
Newer Older
Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
1 2 3 4 5 6 7
#!/usr/bin/env bash
# Wed 21 Sep 2016 13:08:05 CEST

source $(dirname ${0})/functions.sh

run_cmd cd ${PREFIX}

Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
8
run_cmd export PYTHONPATH=\"../PythonFaceEvaluation:$PYTHONPATH\"
Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
9 10 11 12 13 14 15

# The tests:
run_cmd ${PREFIX}/bin/python ${BOB_PREFIX_PATH}/bin/coverage run --source=${CI_PROJECT_NAME} ${BOB_PREFIX_PATH}/bin/nosetests -sv ${CI_PROJECT_NAME}
run_cmd ${PREFIX}/bin/python ${BOB_PREFIX_PATH}/bin/coverage report
run_cmd ${PREFIX}/bin/python ${BOB_PREFIX_PATH}/bin/sphinx-build -b doctest ${CI_PROJECT_DIR}/doc ${CI_PROJECT_NAME}/sphinx

run_cmd cd ${CI_PROJECT_DIR}