run_test.sh 355 Bytes
Newer Older
1
#!/bin/bash
2
set -e
3 4 5 6

echo "TASK:" ${TASK}

if [ ${TASK} == "cpp_test" ]; then
7
    docker run -w '/root/ngraph/build' test_ngraph make check
8 9 10 11 12 13 14
fi

if [ ${TASK} == "python2_test" ]; then
    docker run -w '/root/ngraph/python' test_ngraph tox -e py27
fi

if [ ${TASK} == "python3_test" ]; then
15
    docker run -w '/root/ngraph/python' test_ngraph tox -e py3
16
fi