Skip to content

Commit

Permalink
ENH: hostedci script
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner committed Jan 8, 2015
1 parent e4f2342 commit 5716e8a
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion hostedci/hostedci.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
#!/bin/sh -ef
echo 'TODO: Add anaconda code'

export PATH=${PWD}/miniconda/bin:$PATH
export MNE_LOGGING_LEVEL=warning
export MNE_ROOT="${PWD}/minimal_cmds_osx"

if [ ! -e miniconda.sh ]; then
curl -s -o miniconda.sh http://repo.continuum.io/miniconda/Miniconda-3.7.3-MacOSX-x86_64.sh
chmod +x miniconda.sh
./miniconda.sh -b -p ${PWD}/miniconda
conda update --yes --quiet conda
conda install --yes --quiet numpy scipy nose matplotlib pandas scikit-learn patsy h5py pillow ipython statsmodels mayavi traits pip
fi;
curl http://lester.ilabs.uw.edu/files/minimal_cmds_osx.tar.gz | tar xz
source ${MNE_ROOT}/bin/mne_setup_sh

# move up from "hostedci" directory to the git root
cd ..
export FREESURFER_HOME=$(python -c 'import mne; print(mne.datasets.testing.data_path(verbose=False))');
nosetests --verbosity=2 -a !slow_test --with-timer --timer-top-n=20 --timer-ok 5 --timer-warning 15

0 comments on commit 5716e8a

Please sign in to comment.