File tree Expand file tree Collapse file tree 2 files changed +43
-70
lines changed Expand file tree Collapse file tree 2 files changed +43
-70
lines changed Original file line number Diff line number Diff line change 1+ version : 2
2+ jobs :
3+ build :
4+ docker :
5+ - image : continuumio/miniconda3:4.5.4
6+ environment :
7+ ENV_NAME : mindboggle-env
8+ vtk_cpp_tools : /src/mindboggle/vtk_cpp_tools/bin
9+ working_directory : /src/mindboggle
10+ steps :
11+ - checkout
12+ - run :
13+ name : Install mindboggle
14+ command : |
15+ set -eu
16+ apt-get update -qq && apt-get install -yq \
17+ build-essential \
18+ libgl1-mesa-dev \
19+ libglu1-mesa-dev \
20+ libsm-dev \
21+ libx11-dev \
22+ libxt-dev \
23+ libxext-dev
24+ ln -sv /usr/lib/x86_64-linux-gnu /usr/lib64
25+ conda config --set show_channel_urls yes --set always_yes yes
26+ conda config --add channels conda-forge
27+ conda update conda conda-env
28+ conda env create --quiet
29+ source activate $ENV_NAME
30+ conda info --envs
31+ python setup.py install
32+ mkdir $vtk_cpp_tools && cd $vtk_cpp_tools && cmake ../ && make
33+ - run :
34+ name : Test mindboggle
35+ command : |
36+ source activate $ENV_NAME
37+ export MB=/opt/conda/envs/${ENV_NAME}/lib/python3.6/site-packages/mindboggle
38+ export PATH=$PATH:$vtk_cpp_tools
39+ python -m "nose" --with-doctest ${MB}/thirdparty/
40+ python -m "nose" --with-doctest ${MB}/mio/
41+ python -m "nose" --with-doctest ${MB}/guts/
42+ python -m "nose" --with-doctest ${MB}/shapes/
43+ python -m "nose" --with-doctest ${MB}/features/
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments