adding continuous integration

This commit is contained in:
Philipp Moritz
2016-06-05 20:46:54 -07:00
parent f9aeb5d018
commit 4cb4f288cc
3 changed files with 20 additions and 2 deletions
+18
View 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
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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)