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

* bypass python when storing objects into the object store * clang-format * Bug fixes. * fix include paths * Fixes. * fix bug * clang-format * fix * fix release after disconnect
86 lines
2.2 KiB
YAML
86 lines
2.2 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
|
|
|
|
- cd src/common
|
|
- make valgrind
|
|
- cd ../..
|
|
|
|
- cd src/plasma
|
|
- make valgrind
|
|
- cd ../..
|
|
|
|
- cd src/photon
|
|
- make valgrind
|
|
- cd ../..
|
|
|
|
- ./.travis/install-ray.sh
|
|
script:
|
|
- python src/plasma/test/test.py valgrind
|
|
- python src/photon/test/test.py valgrind
|
|
- python src/global_scheduler/test/test.py valgrind
|
|
|
|
install:
|
|
- ./.travis/install-dependencies.sh
|
|
- ./.travis/run-c-tests.sh
|
|
- ./.travis/install-ray.sh
|
|
|
|
script:
|
|
- if [[ "$PYTHON" == "3.5" ]]; then export PATH="$HOME/miniconda/bin:$PATH"; fi
|
|
|
|
- python numbuf/python/test/runtest.py
|
|
|
|
- python src/common/test/test.py
|
|
- python src/plasma/test/test.py
|
|
- python src/photon/test/test.py
|
|
- python src/global_scheduler/test/test.py
|
|
|
|
- python test/runtest.py
|
|
- python test/array_test.py
|
|
- python test/tensorflow_test.py
|
|
- python test/failure_test.py
|
|
- python test/microbenchmarks.py
|
|
- python test/stress_tests.py
|
|
|
|
after_script:
|
|
# Make sure that we can build numbuf as a standalone library.
|
|
- pip uninstall -y numbuf
|
|
- cd numbuf/build
|
|
- rm -rf *
|
|
- cmake -DHAS_PLASMA=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="-g" -DCMAKE_CXX_FLAGS="-g" ..
|
|
- make install
|