ray/ci/env/install-minimal.sh
Kai Fricke 65d9a410f7
[ci] Clean up ci/ directory (refactor ci/travis) (#23866)
Clean up the ci/ directory. This means getting rid of the travis/ path completely and moving the files into sensible subdirectories.

Details:

- Moves everything under ci/travis into subdirectories, e.g. ci/build, ci/lint, etc.
- Minor adjustments to some scripts (variable renames)
- Removes the outdated (unused) asan tests
2022-04-13 18:11:30 +01:00

17 lines
498 B
Bash
Executable file

#!/usr/bin/env bash
ROOT_DIR=$(builtin cd "$(dirname "${BASH_SOURCE:-$0}")" || exit; pwd)
WORKSPACE_DIR="${ROOT_DIR}/../.."
# Installs conda and python 3.7
MINIMAL_INSTALL=1 PYTHON=${PYTHON-3.7} "${WORKSPACE_DIR}/ci/env/install-dependencies.sh"
# Re-install Ray wheels
rm -rf "${WORKSPACE_DIR}/python/ray/thirdparty_files"
rm -rf "${WORKSPACE_DIR}/python/ray/pickle5_files"
eval "${WORKSPACE_DIR}/ci/ci.sh build"
# Install test requirements
python -m pip install -U \
pytest==5.4.3 \
numpy