diff --git a/tools/ci/activate_env.sh b/tools/ci/activate_env.sh index 0acc69c9c7..fdde5756ad 100755 --- a/tools/ci/activate_env.sh +++ b/tools/ci/activate_env.sh @@ -1,7 +1,7 @@ if [ -e venv/bin/activate ]; then source venv/bin/activate elif [ -e venv/Scripts/activate ]; then - source virtenv/Scripts/activate + source venv/Scripts/activate elif [ "$INSTALL_TYPE" == "conda" ]; then conda init bash source $CONDA/etc/profile.d/conda.sh diff --git a/tools/ci/install.sh b/tools/ci/install.sh index ac2c75e2f5..d81e394fa8 100755 --- a/tools/ci/install.sh +++ b/tools/ci/install.sh @@ -7,7 +7,7 @@ set -ex PIPI="pip install --timeout=60" -if [ "$USE_PRE" == "1" ] || [ "$USE_PRE" = true ]; then +if [ "$USE_PRE" == "1" ] || [ "$USE_PRE" == true ]; then PIPI="$PIPI --extra-index-url=$PRE_WHEELS --pre"; fi diff --git a/tools/ci/install_dependencies.sh b/tools/ci/install_dependencies.sh index 040d198844..812b10b475 100755 --- a/tools/ci/install_dependencies.sh +++ b/tools/ci/install_dependencies.sh @@ -16,7 +16,7 @@ if [ "$INSTALL_TYPE" == "conda" ]; then else PIPI="pip install --timeout=60 " - if [ "$USE_PRE" == "1" ] || [ "$USE_PRE" = true ]; then + if [ "$USE_PRE" == "1" ] || [ "$USE_PRE" == true ]; then PIPI="$PIPI --extra-index-url=$PRE_WHEELS --pre"; fi diff --git a/tools/ci/run_tests.sh b/tools/ci/run_tests.sh index 1ddbcd7887..a841b2df9e 100755 --- a/tools/ci/run_tests.sh +++ b/tools/ci/run_tests.sh @@ -14,7 +14,7 @@ cd for_testing cp ../setup.cfg . # No figure windows for mpl; quote to hide : from travis-ci yaml parsing echo "backend : agg" > matplotlibrc -if [ "$COVERAGE" == "1" ] || [ "$COVERAGE" = true ]; then +if [ "$COVERAGE" == "1" ] || [ "$COVERAGE" == true ]; then cp ../.coveragerc .; cp ../.codecov.yml .; # Run the tests and check for test coverage.