Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* FIX: CircleCI * FIX: Timeout * FIX: Tweak * FIX: Tweak * FIX: Tweak * FIX: Update Makefile * FIX: Silent * FIX: Bump Pyglet * FIX: AVBin * FIX: AVBin
- Loading branch information
Showing
14 changed files
with
132 additions
and
129 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,72 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/python:3.6-stretch | ||
steps: | ||
# Get our data and merge with upstream | ||
- checkout | ||
- run: echo $(git log -1 --pretty=%B) | tee gitlog.txt | ||
- run: echo ${CI_PULL_REQUEST//*pull\//} | tee merge.txt | ||
- run: sudo apt-get install libglu1-mesa | ||
- run: wget https://github.com/downloads/AVbin/AVbin/install-avbin-linux-x86-64-v10 | ||
- run: sudo sh ./install-avbin-linux-x86-64-v10 | ||
- run: | ||
command: | | ||
if [[ $(cat merge.txt) != "" ]]; then | ||
echo "Merging $(cat merge.txt)"; | ||
git pull --ff-only origin "refs/pull/$(cat merge.txt)/merge"; | ||
fi | ||
- run: echo "export DISPLAY=:99" >> $BASH_ENV | ||
- run: echo "export _EXPYFUN_SILENT=true" >> $BASH_ENV | ||
- run: echo "export PATH=~/.local/bin:$PATH" >> $BASH_ENV | ||
- run: /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -screen 0 1400x900x24 -ac +extension GLX +render -noreset; | ||
- run: pip install --quiet --upgrade --user pip | ||
- run: pip install --quiet --upgrade --user numpy scipy matplotlib sphinx pillow pandas h5py mne pyglet==1.2.4 psutil sphinx_bootstrap_theme numpydoc https://api.github.com/repos/sphinx-gallery/sphinx-gallery/zipball/master | ||
- run: python -c "import mne; mne.sys_info()" | ||
- run: python setup.py develop --user | ||
- run: cd doc && make html | ||
|
||
- store_artifacts: | ||
path: doc/_build/html/ | ||
destination: html | ||
|
||
- persist_to_workspace: | ||
root: doc/_build | ||
paths: | ||
- html | ||
|
||
|
||
deploy: | ||
docker: | ||
- image: circleci/python:3.6-stretch | ||
steps: | ||
- attach_workspace: | ||
at: /tmp/_build | ||
- run: | ||
name: upload | ||
command: | | ||
echo "Deploying docs." | ||
git clone https://github.com/LABSN/labsn.github.io.git ~/labsn.github.io --depth=1 | ||
git config --global user.email "circle@labsn.github.io" | ||
git config --global user.name "Circle CI" | ||
cd ~/labsn.github.io | ||
git checkout master | ||
git pull origin master | ||
rm -Rf ~/labsn.github.io/expyfun | ||
cp -a /tmp/_build/html ~/labsn.github.io/expyfun | ||
git add -A | ||
git commit -m "CircleCI update of docs (${CIRCLE_BUILD_NUM})." | ||
git push origin master | ||
workflows: | ||
version: 2 | ||
build_and_deploy: | ||
jobs: | ||
- build | ||
- deploy: | ||
requires: | ||
- build | ||
filters: | ||
branches: | ||
only: master |
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 |
---|---|---|
|
@@ -66,3 +66,5 @@ env/ | |
|
||
# pycharm | ||
.idea/ | ||
|
||
.pytest_cache/ |
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 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
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.