Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions python/test.py
Original file line number Diff line number Diff line change
@@ -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