8000 Appveyor: cleanup working dir before conda build · robintw/matplotlib@428547d · GitHub
[go: up one dir, main page]

Skip to content

Commit 428547d

Browse files
committed
Appveyor: cleanup working dir before conda build
1 parent 7753d0e commit 428547d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

appveyor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ install:
6060
# this is now the downloaded conda...
6161
- conda info -a
6262
# same things as the requirements in ci/conda_recipe/meta.yaml
63-
- cmd: conda create -y -q -n test-environment python=%PYTHON_VERSION% pip setuptools numpy python-dateutil freetype=2.5 msinttypes tk pyparsing pytz tornado libpng zlib pyqt cycler nose mock
63+
- cmd: conda create -y -q -n test-environment python=%PYTHON_VERSION% pip setuptools numpy python-dateutil freetype msinttypes tk pyparsing pytz tornado libpng zlib pyqt cycler nose mock
6464
- activate test-environment
6565
- cmd: echo %PYTHON_VERSION% %TARGET_ARCH%
6666
- cmd: IF %PYTHON_VERSION% == 2.7 conda install -y functools32
@@ -94,6 +94,8 @@ after_test:
9494
# is set dynamically. This unfortunately means that conda build --output
9595
# doesn't really work.
9696
- cmd: '%CMD_IN_ENV% conda config --get channels'
97+
# cleanup build files so that they don't pollute the conda build but keep the wheel in dist...
98+
- cmd: git clean -d -x -f -e dist/
9799
- cmd: '%CMD_IN_ENV% conda build .\ci\conda_recipe'
98100
# Move the conda package into the dist directory, to register it
99101
# as an "artifact" for Appveyor.

0 commit comments

Comments
 (0)
0