-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |