2016-06-05 20:46:54 -07:00
|
|
|
sudo: required
|
|
|
|
|
|
|
|
language: generic
|
|
|
|
|
2016-06-22 11:28:01 -07:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
2016-12-13 17:37:22 -08:00
|
|
|
env: PYTHON=2.7
|
2016-10-25 22:39:21 -07:00
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
2016-12-13 17:37:22 -08:00
|
|
|
env: PYTHON=3.5
|
2016-06-22 11:28:01 -07:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7
|
2016-12-13 17:37:22 -08:00
|
|
|
env: PYTHON=2.7
|
2016-10-25 22:39:21 -07:00
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7
|
2016-12-13 17:37:22 -08:00
|
|
|
env: PYTHON=3.5
|
2016-10-25 22:39:21 -07:00
|
|
|
- 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
|
2017-02-27 21:14:31 -08:00
|
|
|
# Try generating Sphinx documentation. To do this, we need to setup some
|
|
|
|
# Python stuff.
|
|
|
|
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
|
|
|
|
- bash miniconda.sh -b -p $HOME/miniconda
|
|
|
|
- export PATH="$HOME/miniconda/bin:$PATH"
|
|
|
|
- cd doc
|
|
|
|
- pip install -r requirements-doc.txt
|
|
|
|
- sphinx-build -W -b html -d _build/doctrees source _build/html
|
2016-10-25 22:39:21 -07:00
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
2016-12-13 17:37:22 -08:00
|
|
|
env: VALGRIND=1 PYTHON=2.7
|
2016-10-25 22:39:21 -07:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -qq valgrind
|
2016-12-20 14:46:25 -08:00
|
|
|
install:
|
|
|
|
- ./.travis/install-dependencies.sh
|
2017-01-17 16:56:40 -08:00
|
|
|
- ./.travis/install-ray.sh
|
2016-12-20 14:46:25 -08:00
|
|
|
|
2017-01-17 16:56:40 -08:00
|
|
|
- cd python/core
|
|
|
|
- bash ../../src/common/test/run_valgrind.sh
|
|
|
|
- bash ../../src/plasma/test/run_valgrind.sh
|
2017-02-27 12:24:07 -08:00
|
|
|
- bash ../../src/local_scheduler/test/run_valgrind.sh
|
2016-12-29 23:10:38 -08:00
|
|
|
- cd ../..
|
|
|
|
|
2016-12-20 14:46:25 -08:00
|
|
|
script:
|
2017-01-17 16:56:40 -08:00
|
|
|
- python ./python/plasma/test/test.py valgrind
|
2017-02-27 12:24:07 -08:00
|
|
|
- python ./python/local_scheduler/test/test.py valgrind
|
2017-01-17 16:56:40 -08:00
|
|
|
- python ./python/global_scheduler/test/test.py valgrind
|
2016-06-05 20:46:54 -07:00
|
|
|
|
|
|
|
install:
|
2016-12-13 17:37:22 -08:00
|
|
|
- ./.travis/install-dependencies.sh
|
|
|
|
- ./.travis/install-ray.sh
|
2016-06-05 20:46:54 -07:00
|
|
|
|
2017-02-10 12:46:23 -08:00
|
|
|
- if [[ "$PYTHON" == "3.5" ]]; then export PATH="$HOME/miniconda/bin:$PATH"; fi
|
|
|
|
|
2017-01-17 16:56:40 -08:00
|
|
|
- cd python/core
|
|
|
|
- bash ../../src/common/test/run_tests.sh
|
|
|
|
- bash ../../src/plasma/test/run_tests.sh
|
2017-02-27 12:24:07 -08:00
|
|
|
- bash ../../src/local_scheduler/test/run_tests.sh
|
2017-01-17 16:56:40 -08:00
|
|
|
- cd ../..
|
|
|
|
|
2016-06-05 20:46:54 -07:00
|
|
|
script:
|
2016-12-13 17:37:22 -08:00
|
|
|
- if [[ "$PYTHON" == "3.5" ]]; then export PATH="$HOME/miniconda/bin:$PATH"; fi
|
|
|
|
|
2017-01-17 16:56:40 -08:00
|
|
|
- python src/numbuf/python/test/runtest.py
|
2016-11-19 17:38:36 -08:00
|
|
|
|
2017-01-17 16:56:40 -08:00
|
|
|
- python python/common/test/test.py
|
|
|
|
- python python/common/redis_module/runtest.py
|
|
|
|
- python python/plasma/test/test.py
|
2017-02-27 12:24:07 -08:00
|
|
|
- python python/local_scheduler/test/test.py
|
2017-01-17 16:56:40 -08:00
|
|
|
- python python/global_scheduler/test/test.py
|
2016-11-02 00:39:35 -07:00
|
|
|
|
|
|
|
- python test/runtest.py
|
|
|
|
- python test/array_test.py
|
2017-02-15 00:10:05 -08:00
|
|
|
- python test/actor_test.py
|
2017-01-07 01:54:11 -08:00
|
|
|
- python test/tensorflow_test.py
|
2016-11-02 00:39:35 -07:00
|
|
|
- python test/failure_test.py
|
|
|
|
- python test/microbenchmarks.py
|
2016-12-09 17:49:31 -08:00
|
|
|
- python test/stress_tests.py
|
2017-01-17 20:34:31 -08:00
|
|
|
- python test/component_failures_test.py
|
2017-01-25 22:53:48 -08:00
|
|
|
- python test/multi_node_test.py
|