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

* Update worker code and services code to use plasma and the local scheduler. * Cleanups. * Fix bug in which threads were started before the worker mode was set. This caused remote functions to be defined on workers before the worker knew it was in WORKER_MODE. * Fix bug in install-dependencies.sh. * Lengthen timeout in failure_test.py. * Cleanups. * Cleanup services.start_ray_local. * Clean up random name generation. * Cleanups.
76 lines
1.7 KiB
YAML
76 lines
1.7 KiB
YAML
sudo: required
|
|
|
|
language: generic
|
|
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
dist: trusty
|
|
python: "2.7"
|
|
- os: linux
|
|
dist: trusty
|
|
python: "3.5"
|
|
- os: osx
|
|
osx_image: xcode7
|
|
python: "2.7"
|
|
- os: osx
|
|
osx_image: xcode7
|
|
python: "3.5"
|
|
- os: linux
|
|
dist: trusty
|
|
python: "2.7"
|
|
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
|
|
python: "2.7"
|
|
env: VALGRIND=1
|
|
before_install:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -qq valgrind
|
|
script:
|
|
- cd src/common
|
|
- make valgrind
|
|
- cd ../..
|
|
|
|
- cd src/plasma
|
|
- make valgrind
|
|
- cd ../..
|
|
|
|
- python src/plasma/test/test.py valgrind
|
|
|
|
- python src/photon/test/test.py valgrind
|
|
|
|
install:
|
|
- ./install-dependencies.sh
|
|
- ./build.sh
|
|
|
|
- cd src/common/lib/python
|
|
- sudo python setup.py install
|
|
- cd ../../../..
|
|
|
|
- cd src/photon
|
|
- sudo python setup.py install
|
|
- cd ../..
|
|
|
|
- cd lib/python
|
|
- sudo python setup.py install
|
|
- cd ../..
|
|
|
|
script:
|
|
- python src/common/test/test.py
|
|
- python src/plasma/test/test.py
|
|
- python src/photon/test/test.py
|
|
|
|
- python test/runtest.py
|
|
- python test/array_test.py
|
|
- python test/failure_test.py
|
|
- python test/microbenchmarks.py
|