File tree 3 files changed +5
-12
lines changed
3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,14 @@ jobs:
23
23
24
24
# Fix libgcc_s.so.1 pthread_cancel bug:
25
25
# https://github.com/ContinuumIO/anaconda-issues/issues/9190#issuecomment-386508136
26
- # https://github.com/golemfactory/golem/issues/1019
27
- - run : sudo apt-get install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6 qt5-default
26
+ - run : sudo apt-get install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6
28
27
- run : echo "export SUBJECTS_DIR=~/subjects" >> $BASH_ENV
29
28
- run : echo "export PATH=~/.local/bin:$PATH" >> $BASH_ENV
30
- - run : echo "export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4200.1" >> $BASH_ENV
31
29
# Spin up Xvfb
32
30
- run : echo "export DISPLAY=:99" >> $BASH_ENV
33
31
- 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;
34
32
# Python env
35
- - run : pip install -U --user --progress-bar off numpy scipy matplotlib vtk PyQt5 sip PyQt5-sip nibabel sphinx numpydoc pillow imageio https://api.github.com/repos/sphinx-gallery/sphinx-gallery/zipball/master
36
- - run : pip install -U --user --progress-bar off mayavi
33
+ - run : pip install -U --user --progress-bar off numpy scipy matplotlib vtk "PyQt5<5.12" nibabel sphinx numpydoc pillow imageio imageio-ffmpeg https://api.github.com/repos/sphinx-gallery/sphinx-gallery/zipball/master mayavi
37
34
- save_cache :
38
35
key : pip-cache
39
36
paths :
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ sudo: false
4
4
env :
5
5
global : PYTHON_VERSION=3.6
6
6
CONDA_DEPENDENCIES="numpy scipy matplotlib pyqt>=5.9 coverage pytest pytest-cov flake8 pygments traits traitsui pyface"
7
- PIP_DEPENDENCIES="codecov pytest-sugar pytest-faulthandler nibabel imageio"
7
+ PIP_DEPENDENCIES="codecov pytest-sugar pytest-faulthandler nibabel imageio imageio-ffmpeg "
8
8
DISPLAY=:99.0
9
9
10
10
matrix :
@@ -20,7 +20,7 @@ matrix:
20
20
- os : linux
21
21
env : PYTHON_VERSION=2.7
22
22
CONDA_DEPENDENCIES="numpy scipy matplotlib coverage pytest pytest-cov flake8 mayavi"
23
- PIP_DEPENDENCIES="codecov pytest-sugar faulthandler pytest-faulthandler nibabel imageio"
23
+ PIP_DEPENDENCIES="codecov pytest-sugar faulthandler pytest-faulthandler nibabel imageio imageio-ffmpeg "
24
24
25
25
# OSX
26
26
- os : osx
@@ -57,9 +57,6 @@ before_script:
57
57
- unzip ../fsaverage_min.zip
58
58
- cd ..
59
59
- export SUBJECTS_DIR="${PWD}/subjects"
60
- - if [[ $PIP_DEPENDENCIES == *"imageio"* ]] || [ ! -z "$CONDA_ENVIRONMENT" ]; then
61
- python -c "import imageio; imageio.plugins.ffmpeg.download()";
62
- fi
63
60
64
61
script :
65
62
- cd ${SRC_DIR}
Original file line number Diff line number Diff line change @@ -6,9 +6,8 @@ environment:
6
6
install :
7
7
- " SET PATH=%PYTHON%;%PYTHON%\\ Scripts;%PATH%"
8
8
- " python --version"
9
- - " pip install numpy scipy matplotlib nose pillow pytest pytest-cov pytest-faulthandler coverage imageio codecov pyqt5==5.9"
9
+ - " pip install numpy scipy matplotlib nose pillow pytest pytest-cov pytest-faulthandler coverage imageio imageio-ffmpeg codecov pyqt5==5.9"
10
10
- " pip install traits traitsui pyface vtk mayavi nibabel"
11
- - " python -c \" import imageio; imageio.plugins.ffmpeg.download()\" "
12
11
- " powershell make/get_fsaverage.ps1"
13
12
- " python setup.py develop"
14
13
- " SET SUBJECTS_DIR=%CD%\\ subjects"
You can’t perform that action at this time.
0 commit comments