-
-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathappveyor.yml
More file actions
53 lines (43 loc) · 1.66 KB
/
appveyor.yml
File metadata and controls
53 lines (43 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# This file was automatically generated by conda-smithy. To update a component of this
# file, make changes to conda-forge.yml and/or recipe/meta.yaml, and run
# "conda smithy rerender".
environment:
matrix:
- TARGET_ARCH: x86
CONDA_PY: 35
CONDA_INSTALL_LOCN: C:\\Miniconda35
SCIPY2017CODEGEN_COMPILER: msvc
- TARGET_ARCH: x64
CONDA_PY: 35
CONDA_INSTALL_LOCN: C:\\Miniconda35-x64
SCIPY2017CODEGEN_COMPILER: msvc
# We always use a 64-bit machine, but can build x86 distributions
# with the TARGET_ARCH variable.
platform:
- x64
install:
# Cywing's git breaks conda-build. (See https://github.com/conda-forge/conda-smithy-feedstock/pull/2.)
- cmd: rmdir C:\cygwin /s /q
# Add path, activate `conda` and update conda.
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
- cmd: conda update --yes --quiet conda
- cmd: set PYTHONUNBUFFERED=1
# Add our channels.
- cmd: conda config --set show_channel_urls true
- cmd: conda config --remove channels defaults
- cmd: conda config --add channels defaults
- cmd: conda config --add channels conda-forge
# Skip .NET project specific build phase.
build: off
test_script:
- "sed -i '$ d' environment.yml"
- "conda env create --quiet -f environment.yml"
- "activate codegen17"
- "python -m pip install -e ."
- "cd notebooks"
- "sed -i 's/conda-root-py/python3/' *.ipynb"
- "del _*.ipynb"
- "python ../bin/preprocess_notebook_exercise_magic.py *.ipynb"
- "jupyter nbconvert --debug --ExecutePreprocessor.enabled=True --ExecutePreprocessor.timeout=300 --to=html *.ipynb"
- "cd .."
- "python test_installation.py"