mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
18 lines
508 B
Bash
18 lines
508 B
Bash
![]() |
#!/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/travis/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/travis/ci.sh build"
|
||
|
|
||
|
# Install test requirements
|
||
|
python -m pip install -U \
|
||
|
pytest==5.4.3 \
|
||
|
numpy
|