forked from nilearn/nilearn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from nilearn/master
getting up-to-date
- Loading branch information
Showing
166 changed files
with
5,344 additions
and
1,786 deletions.
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 |
---|---|---|
@@ -0,0 +1,63 @@ | ||
version: 2 | ||
|
||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/python:3.6 | ||
environment: | ||
DISTRIB: "conda" | ||
PYTHON_VERSION: "3.6" | ||
NUMPY_VERSION: "*" | ||
SCIPY_VERSION: "*" | ||
SCIKIT_LEARN_VERSION: "*" | ||
MATPLOTLIB_VERSION: "*" | ||
|
||
steps: | ||
- checkout | ||
# Get rid of existing virtualenvs on circle ci as they conflict with conda. | ||
# Trick found here: | ||
# https://discuss.circleci.com/t/disable-autodetection-of-project-or-application-of-python-venv/235/10 | ||
- run: cd && rm -rf ~/.pyenv && rm -rf ~/virtualenvs | ||
# We need to remove conflicting texlive packages. | ||
- run: sudo -E apt-get -yq remove texlive-binaries --purge | ||
# Installing required packages for `make -C doc check command` to work. | ||
- run: sudo -E apt-get -yq update | ||
- run: sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install dvipng texlive-latex-base texlive-latex-extra | ||
- restore_cache: | ||
key: v1-packages+datasets-{{ .Branch }} | ||
- run: wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh | ||
- run: chmod +x ~/miniconda.sh && ~/miniconda.sh -b | ||
- run: | ||
name: Setup conda path in env variables | ||
command: | | ||
echo 'export PATH="$HOME/miniconda3/bin:$PATH"' >> $BASH_ENV | ||
- run: | ||
name: Create conda env | ||
command: | | ||
conda create -n testenv python=3.6 numpy scipy scikit-learn matplotlib pandas \ | ||
lxml mkl sphinx pillow pandas -yq | ||
conda install -n testenv nibabel -c conda-forge -yq | ||
- run: | ||
name: Running CircleCI test (make html) | ||
command: | | ||
source activate testenv | ||
pip install -e . | ||
set -o pipefail && cd doc && make html-strict 2>&1 | tee ~/log.txt | ||
no_output_timeout: 5h | ||
- save_cache: | ||
key: v1-packages+datasets-{{ .Branch }} | ||
paths: | ||
- $HOME/nilearn_data | ||
- $HOME/miniconda3 | ||
|
||
- store_artifacts: | ||
path: doc/_build/html | ||
- store_artifacts: | ||
path: coverage | ||
- store_artifacts: | ||
path: $HOME/log.txt | ||
destination: log.txt | ||
|
||
|
||
|
||
|
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 |
---|---|---|
|
@@ -33,3 +33,5 @@ tags | |
*.tgz | ||
|
||
.idea/ | ||
|
||
doc/themes/nilearn/static/jquery.js |
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
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
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
Oops, something went wrong.