mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
commit
80774955c3
3 changed files with 20 additions and 2 deletions
18
.travis.yml
Normal file
18
.travis.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
sudo: required
|
||||
dist: trusty
|
||||
|
||||
language: generic
|
||||
|
||||
before_install:
|
||||
- sudo apt-get -y update
|
||||
- sudo apt-get -y install git
|
||||
- sudo add-apt-repository --yes ppa:kalakris/cmake
|
||||
|
||||
install:
|
||||
- bash setup.sh
|
||||
|
||||
script:
|
||||
- cd test
|
||||
- bash gen-python-code.sh
|
||||
- python runtest.py
|
||||
- python arrays_test.py
|
2
setup.sh
2
setup.sh
|
@ -1,5 +1,5 @@
|
|||
sudo apt-get update
|
||||
sudo apt-get install git cmake build-essential python-dev python-numpy automake autoconf libtool python-pip libboost-all-dev unzip
|
||||
sudo apt-get install -y git cmake build-essential python-dev python-numpy automake autoconf libtool python-pip libboost-all-dev unzip
|
||||
sudo pip install --ignore-installed six # getting rid of an old version of six, if it is installed (needed for Ubuntu 14.04)
|
||||
sudo pip install -r requirements.txt
|
||||
cd thirdparty
|
||||
|
|
|
@ -81,7 +81,7 @@ class ArraysDistTest(unittest.TestCase):
|
|||
def testMethods(self):
|
||||
test_dir = os.path.dirname(os.path.abspath(__file__))
|
||||
test_path = os.path.join(test_dir, "testrecv.py")
|
||||
services.start_singlenode_cluster(return_drivers=False, num_objstores=2, num_workers_per_objstore=8, worker_path=test_path)
|
||||
services.start_singlenode_cluster(return_drivers=False, num_objstores=2, num_workers_per_objstore=5, worker_path=test_path)
|
||||
|
||||
x = dist.zeros([9, 25, 51], "float")
|
||||
y = dist.assemble(x)
|
||||
|
|
Loading…
Add table
Reference in a new issue