Skip to content

Commit

Permalink
Try more more
Browse files Browse the repository at this point in the history
  • Loading branch information
jasmainak committed Mar 29, 2017
1 parent d3cbd24 commit c817a2b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 16 deletions.
35 changes: 29 additions & 6 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,37 @@
machine:
environment:
# We need to set this variable to let Anaconda take precedence
PATH: "/home/ubuntu/miniconda/envs/circleenv/bin:/home/ubuntu/miniconda/bin:$PATH"
DISPLAY: ":99.0"

dependencies:
cache_directories:
- "~/spykes_data"
- "~/miniconda"
# Various dependencies
pre:
# Get a running Python
- cd ~;
# Disable pyenv (no cleaner way provided by CircleCI as it prepends pyenv version to PATH)
- rm -rf ~/.pyenv;
- rm -rf ~/virtualenvs;
# Get Anaconda and conda-based requirements
- >
if [ ! -d "/home/ubuntu/miniconda" ]; then
echo "Setting up conda";
wget -q http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O ~/miniconda.sh;
chmod +x ~/miniconda.sh;
~/miniconda.sh -b -p /home/ubuntu/miniconda;
conda update --yes --quiet conda;
conda create -n circleenv --yes pip python=2.7 pip;
sed -i "s/ENABLE_USER_SITE = .*/ENABLE_USER_SITE = False/g" /home/ubuntu/miniconda/envs/circleenv/lib/python2.7/site.py;
else
echo "Conda already set up.";
fi
- conda install -n circleenv --yes numpy scipy scikit-learn matplotlib sphinx pillow six IPython pandas;
override:
- sudo apt-get install python3-tk
- pip install --upgrade pip
- pip install sphinx matplotlib coverage
- pip install sphinx coverage
- pip install sphinx-gallery sphinx_bootstrap_theme
- pip install scipy
- pip install scikit-learn
- pip install pandas
- pip install -e .
# we need to do this here so the datasets will be cached
# pipefail is necessary to propagate exit codes
Expand Down
10 changes: 0 additions & 10 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@

import sys
import os
import sphinx
import spykes.neurovis
import spykes.neuropop
import spykes.popvis
import sphinx_gallery
import matplotlib

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down Expand Up @@ -72,10 +66,6 @@
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = spykes.__version__
# The full version, including alpha/beta/rc tags.
release = spykes.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down

0 comments on commit c817a2b

Please sign in to comment.