mirror of
https://github.com/wassname/ray.git
synced 2026-07-12 12:52:32 +08:00
Remove valgrind block (#6297)
This commit is contained in:
-37
@@ -67,43 +67,6 @@ matrix:
|
||||
- go get github.com/bazelbuild/buildtools/buildifier
|
||||
- ./ci/travis/bazel-format.sh
|
||||
|
||||
- os: linux
|
||||
env: VALGRIND=1 PYTHON=2.7 PYTHONWARNINGS=ignore
|
||||
before_install:
|
||||
- eval `python $TRAVIS_BUILD_DIR/ci/travis/determine_tests_to_run.py`
|
||||
- if [ $RAY_CI_PYTHON_AFFECTED != "1" ]; then exit; fi
|
||||
|
||||
# Install a newer version of valgrind, the one that comes with
|
||||
# Ubuntu 16.04 is broken (Illegal instruction)
|
||||
- sudo add-apt-repository -y ppa:msulikowski/valgrind
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq valgrind
|
||||
|
||||
install:
|
||||
- if [ $RAY_CI_PYTHON_AFFECTED != "1" ]; then exit; fi
|
||||
|
||||
- ./ci/suppress_output ./ci/travis/install-bazel.sh
|
||||
- ./ci/suppress_output ./ci/travis/install-dependencies.sh
|
||||
- export PATH="$HOME/miniconda/bin:$PATH"
|
||||
- ./ci/suppress_output ./ci/travis/install-ray.sh
|
||||
|
||||
script:
|
||||
- if [ $RAY_CI_PYTHON_AFFECTED != "1" ]; then exit; fi
|
||||
|
||||
- bash src/ray/test/run_object_manager_valgrind.sh
|
||||
|
||||
- export RAY_PLASMA_STORE_VALGRIND=1
|
||||
# - export RAY_RAYLET_VALGRIND=1
|
||||
# - export RAY_RAYLET_MONITOR_VALGRIND=1
|
||||
# - export RAY_REDIS_SERVER_VALGRIND=1
|
||||
|
||||
# # Python3.5+ only. Otherwise we will get `SyntaxError` regardless of how we set the tester.
|
||||
- python -c 'import sys;exit(sys.version_info>=(3,5))' || python -m pytest -v --durations=5 python/ray/experimental/test/async_test.py
|
||||
- python -m pytest -v --durations=5 --timeout=300 python/ray/tests/test_mini.py
|
||||
- python -m pytest -v --durations=5 --timeout=300 python/ray/tests/test_array.py
|
||||
- python -m pytest -v --durations=5 --timeout=300 python/ray/tests/test_multi_node_2.py
|
||||
- python -m pytest -v --durations=5 --timeout=300 python/ray/tests/test_node_manager.py
|
||||
|
||||
# Build Linux wheels.
|
||||
- os: linux
|
||||
env: LINUX_WHEELS=1 PYTHONWARNINGS=ignore
|
||||
|
||||
Reference in New Issue
Block a user