scikit-learn/build_tools/azure/test_docs.sh

16 lines
272 B
Bash
Executable File

#!/bin/bash
set -e
if [[ "$DISTRIB" =~ ^conda.* ]]; then
source activate $VIRTUALENV
elif [[ "$DISTRIB" == "ubuntu" ]]; then
source $VIRTUALENV/bin/activate
fi
if [[ "$BUILD_WITH_ICC" == "true" ]]; then
source /opt/intel/oneapi/setvars.sh
fi
make test-doc