forked from jupyter/notebook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
36 lines (29 loc) · 1.21 KB
/
appveyor.yml
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
# miniconda bootstrap from conda-forge recipe
matrix:
fast_finish: true
environment:
CONDA_INSTALL_LOCN: "C:\\conda"
matrix:
- CONDA_PY: 35
- CONDA_PY: 27
platform:
- x64
build: off
install:
- appveyor DownloadFile "https://raw.githubusercontent.com/pelson/Obvious-CI/master/bootstrap-obvious-ci-and-miniconda.py"
- cmd: python bootstrap-obvious-ci-and-miniconda.py %CONDA_INSTALL_LOCN% %platform% %CONDA_PY:~0,1% --without-obvci
# Add a hack to switch to `conda` version `4.1.12` before activating.
# This is required to handle a long path activation issue.
# Verbatim from https://github.com/conda-forge/conda-smithy/pull/329
- cmd: set "OLDPATH=%PATH%"
- cmd: set "PATH=%CONDA_INSTALL_LOCN%\\Scripts;%CONDA_INSTALL_LOCN%\\Library\\bin;%PATH%"
- cmd: conda install --yes --quiet conda=4.1.12
- cmd: set "PATH=%OLDPATH%"
- cmd: set "OLDPATH="
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
- cmd: conda config --set show_channel_urls true
- cmd: conda config --add channels conda-forge
- cmd: conda install -y pyzmq tornado jupyter_client nbformat nbconvert ipykernel pip nodejs nose
- cmd: pip install .[test]
test_script:
- nosetests --exclude-dir notebook\terminal -v notebook