mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00

* Implement actor field for tasks * Implement actor management in local scheduler. * initial python frontend for actors * import actors on worker * IPython code completion and tests * prepare creating actors through local schedulers * add actor id to PyTask * submit actor calls to local scheduler * starting to integrate * simple fix * Fixes from rebasing. * more work on python actors * Improve local scheduler actor handlers. * Pass actor ID to local scheduler when connecting a client. * first working version of actors * fixing actors * fix creating two copies of the same actor * fix actors * remove sleep * get rid of export synchronization * update * insert actor methods into the queue in the right order * remove print statements * make it compile again after rebase * Minor updates. * fix python actor ids * Pass actor_id to start_worker. * add test * Minor changes. * Update actor tests. * Temporary plan for import counter. * Temporarily fix import counters. * Fix some tests. * Fixes. * Make actor creation non-blocking. * Fix test? * Fix actors on Python 2. * fix rare case. * Fix python 2 test. * More tests. * Small fixes. * Linting. * Revert tensorflow version to 0.12.0 temporarily. * Small fix. * Enhance inheritance test.
83 lines
2.4 KiB
YAML
83 lines
2.4 KiB
YAML
sudo: required
|
|
|
|
language: generic
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
dist: trusty
|
|
env: PYTHON=2.7
|
|
- os: linux
|
|
dist: trusty
|
|
env: PYTHON=3.5
|
|
- os: osx
|
|
osx_image: xcode7
|
|
env: PYTHON=2.7
|
|
- os: osx
|
|
osx_image: xcode7
|
|
env: PYTHON=3.5
|
|
- os: linux
|
|
dist: trusty
|
|
env: LINT=1
|
|
before_install:
|
|
# In case we ever want to use a different version of clang-format:
|
|
#- wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
|
|
#- echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty main" | sudo tee -a /etc/apt/sources.list > /dev/null
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq clang-format-3.8
|
|
install: []
|
|
script:
|
|
- .travis/check-git-clang-format-output.sh
|
|
- os: linux
|
|
dist: trusty
|
|
env: VALGRIND=1 PYTHON=2.7
|
|
before_install:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq valgrind
|
|
install:
|
|
- ./.travis/install-dependencies.sh
|
|
- ./.travis/install-ray.sh
|
|
|
|
- cd python/core
|
|
- bash ../../src/common/test/run_valgrind.sh
|
|
- bash ../../src/plasma/test/run_valgrind.sh
|
|
- bash ../../src/photon/test/run_valgrind.sh
|
|
- cd ../..
|
|
|
|
script:
|
|
- python ./python/plasma/test/test.py valgrind
|
|
- python ./python/photon/test/test.py valgrind
|
|
- python ./python/global_scheduler/test/test.py valgrind
|
|
|
|
install:
|
|
- ./.travis/install-dependencies.sh
|
|
- ./.travis/install-ray.sh
|
|
|
|
- if [[ "$PYTHON" == "3.5" ]]; then export PATH="$HOME/miniconda/bin:$PATH"; fi
|
|
|
|
- cd python/core
|
|
- bash ../../src/common/test/run_tests.sh
|
|
- bash ../../src/plasma/test/run_tests.sh
|
|
- bash ../../src/photon/test/run_tests.sh
|
|
- cd ../..
|
|
|
|
script:
|
|
- if [[ "$PYTHON" == "3.5" ]]; then export PATH="$HOME/miniconda/bin:$PATH"; fi
|
|
|
|
- python src/numbuf/python/test/runtest.py
|
|
|
|
- python python/common/test/test.py
|
|
- python python/common/redis_module/runtest.py
|
|
- python python/plasma/test/test.py
|
|
- python python/photon/test/test.py
|
|
- python python/global_scheduler/test/test.py
|
|
|
|
- python test/runtest.py
|
|
- python test/array_test.py
|
|
- python test/actor_test.py
|
|
- python test/tensorflow_test.py
|
|
- python test/failure_test.py
|
|
- python test/microbenchmarks.py
|
|
- python test/stress_tests.py
|
|
- python test/component_failures_test.py
|
|
- python test/multi_node_test.py
|