File tree Expand file tree Collapse file tree 2 files changed +19
-14
lines changed Expand file tree Collapse file tree 2 files changed +19
-14
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ machine:
10
10
services :
11
11
- docker
12
12
13
+ # Disable python
14
+ checkout :
15
+ post :
16
+ - rm -rf virtualenvs venv .pyenv
17
+
13
18
dependencies :
14
19
cache_directories :
15
20
- " ~/docker"
@@ -47,14 +52,14 @@ general:
47
52
- " ~/docs"
48
53
- " ~/logs"
49
54
50
- # To enable when ready
51
- # deployment :
52
- # production:
53
- # tag: /.*/
54
- # commands :
55
- # - if [[ -n "$DOCKER_PASS" ]]; then docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS && docker push nipype/nipype:latest; fi :
56
- # timeout: 21600
57
- # - if [[ -n "$DOCKER_PASS" ]]; then docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS && docker tag nipype/nipype nipype/nipype:$CIRCLE_TAG && docker push nipype/nipype:$CIRCLE_TAG; fi :
58
- # timeout: 21600
55
+ deployment :
56
+ production :
57
+ tag : /.*/
58
+ commands :
59
+ - if [[ -n "$DOCKER_PASS" ]]; then docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS && docker push nipype/nipype:latest; fi :
60
+ timeout : 21600
61
+ - if [[ -n "$DOCKER_PASS" ]]; then docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS && docker tag nipype/nipype nipype/nipype:$CIRCLE_TAG && docker push nipype/nipype:$CIRCLE_TAG; fi :
62
+ timeout : 21600
63
+ # Automatic deployment to Pypi:
59
64
# - printf "[distutils]\nindex-servers =\n pypi\n\n[pypi]\nusername:$PYPI_USER\npassword:$PYPI_PASS\n" > ~/.pypirc
60
- # - python setup.py sdist upload -r pypi
65
+ # - python setup.py sdist upload -r pypi
Original file line number Diff line number Diff line change 29
29
FROM nipype/nipype:latest
30
30
MAINTAINER The nipype developers https://github.com/nipy/nipype
31
31
32
- # Downgrade python to 2.7
33
- RUN conda install python=2.7
34
-
35
32
COPY docker/files/run_* /usr/bin/
36
33
RUN chmod +x /usr/bin/run_*
37
34
35
+ # Downgrade python to 2.7
38
36
# matplotlib cleanups: set default backend, precaching fonts
39
- RUN sed -i 's/\(backend *: \).*$/\1Agg/g' /usr/local/miniconda/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc && \
37
+ RUN conda install python=2.7 && \
38
+ find /usr/local/miniconda/ -exec chmod 775 {} + && \
39
+ sed -i 's/\(backend *: \).*$/\1Agg/g' /usr/local/miniconda/lib/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc && \
40
40
python -c "from matplotlib import font_manager"
41
41
42
42
# Re-install nipype
You can’t perform that action at this time.
0 commit comments