diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..bfad9b1 --- /dev/null +++ b/circle.yml @@ -0,0 +1,29 @@ +# Controls the build environment +machine: + python: + version: 2.7.5 + +dependencies: + pre: + - sudo apt-get install -y libjpeg-dev zlib1g libtiff5-dev libfreetype6-dev libwebp-dev libopenjpeg-dev + - sudo apt-get install -y libopencv-dev python-opencv + - sudo apt-get install -y gdal-bin python-gdal + post: + # Moving to nilearn directory before performing the installation. + - sudo apt-get update + - sudo apt-get install -y python-numpy + - sudo apt-get install -y python-scipy + - pip install Pillow + - sudo apt-get install -y libopencv-dev python-opencv + - sudo apt-get install -y libspatialindex-dev + - sudo apt-get install libgdal-dev + - pip install rtree numpy scipy + - pip install pygdal==1.10.1 + +# Set up the commands to run as a test (override), as well as the commands to +# run before (pre) and after (post). +test: + pre: + - mkdir -p $CIRCLE_TEST_REPORTS/junit/ + override: + - cd /home/ubuntu/utilities/python; python test.py diff --git a/python/test.py b/python/test.py new file mode 100644 index 0000000..016109d --- /dev/null +++ b/python/test.py @@ -0,0 +1,4 @@ +from spaceNetUtilities import geoTools as gT +from spaceNetUtilities import labelTools as lT +from spaceNetUtilities import dataTools as dT +from spaceNetUtilities import evalTools as lT \ No newline at end of file