Skip to content

[MRG+1] Use environment.yml on CircleCI - #4685

Merged
agramfort merged 6 commits into
mne-tools:masterfrom
larsoner:circle-env
Mar 27, 2018
Merged

agramfort merged 6 commits into
mne-tools:masterfrom
larsoner:circle-env

Conversation

@larsoner

@larsoner larsoner commented Oct 20, 2017 •

Copy link
Copy Markdown
Member

I've tried this before but I can't remember if I did it with the latest environment.yml. Let's see if it works.

Closes #5015.

@larsoner
larsoner force-pushed the circle-env branch 3 times, most recently from a7a745d to 5ca6b53 Compare October 20, 2017 02:07
@larsoner

Copy link
Copy Markdown
Member Author

The problem is that newer VTK (7.1 that we use now) requires a MESA version not available on Trusty 14.04 that CircleCI 1.0 uses. In theory if we get a usable Docker image with 16.04 on it, we could migrate to CircleCI 2.0 (which this PR gets going). I'll play with Docker a bit to see if I can get it working.

@larsoner larsoner changed the title ENH: Use environment.yml on CircleCI [circle front] WIP: Use environment.yml on CircleCI Oct 20, 2017
@larsoner larsoner closed this Nov 10, 2017
@larsoner larsoner reopened this Mar 26, 2018
@larsoner
larsoner force-pushed the circle-env branch 9 times, most recently from 020d97a to df54053 Compare March 26, 2018 19:29
@larsoner larsoner changed the title WIP: Use environment.yml on CircleCI MRG: Use environment.yml on CircleCI Mar 26, 2018
@larsoner

Copy link
Copy Markdown
Member Author

So far so good!

https://7398-1301584-gh.circle-artifacts.com/0/home/circleci/project/doc/_build/html/auto_tutorials/plot_mne_dspm_source_localization.html

Going to try a full run. @agramfort if it succeeds, okay to merge this and iterate in master as necessary to get the uploads working properly?

@larsoner

Copy link
Copy Markdown
Member Author

plot_spm_faces_dataset.py crashed CircleCI. I've seen this before on master. The only way around it I can see is to use a memmapped file for raw data, but even this would require rewriting our CTF reading code as all the data is stored as a single block (which gets stored in memory when reading based on how the code currently works). For now the solution might be to disable the example for now, similar to what we do with the 92_categories data.

@codecov

codecov Bot commented Mar 26, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #4685 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4685      +/-   ##
==========================================
- Coverage   87.92%   87.91%   -0.01%     
==========================================
  Files         353      353              
  Lines       63601    63606       +5     
  Branches    10874    10875       +1     
==========================================
+ Hits        55921    55922       +1     
- Misses       4918     4921       +3     
- Partials     2762     2763       +1

@larsoner

Copy link
Copy Markdown
Member Author

@massich massich changed the title MRG: Use environment.yml on CircleCI [MRG+1] Use environment.yml on CircleCI Mar 27, 2018
@massich

massich commented Mar 27, 2018

Copy link
Copy Markdown
Contributor

LGTM

@agramfort
agramfort merged commit c458b90 into mne-tools:master Mar 27, 2018
@agramfort

Copy link
Copy Markdown
Member

thx a lot @larsoner for the quick fix !

@larsoner
larsoner deleted the circle-env branch March 27, 2018 12:22
@larsoner

Copy link
Copy Markdown
Member Author

Docs successfully updated, hooray!

mne-tools/mne-tools.github.io@0dbde54

britta-wstnr pushed a commit to britta-wstnr/mne-python that referenced this pull request Jul 5, 2018
* ENH: Use CircleCI 2.0 [circle front]

* ENH: Try full [circle full]

* FIX: Dont run faces [circle full]

* FIX: Fix examples [circle full]

* FIX: Fix manifest check [circle full]

* FIX: Format [ci skip]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants