-
Notifications
You must be signed in to change notification settings - Fork 23
/
.appveyor.yml
29 lines (25 loc) · 942 Bytes
/
.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
environment:
matrix:
- PYTHON_VERSION: 3.5
MINICONDA: C:\Miniconda3
- PYTHON_VERSION: 3.6
MINICONDA: C:\Miniconda3
install:
- appveyor DownloadFile https://miktex.org/download/ctan/systems/win32/miktex/setup/windows-x86/miktex-portable.exe
- 7z x miktex-portable.exe -o%APPVEYOR_BUILD_FOLDER%\miktex >NUL
- set PATH=%APPVEYOR_BUILD_FOLDER%\miktex\texmfs\install\miktex\bin;%PATH%
- where latex
- initexmf --set-config-value "[MPM]AutoInstall=1"
- initexmf --mkmaps
- "%MINICONDA%\\Scripts\\activate"
- conda config --set always_yes yes
- conda create -q -n test_env python=%PYTHON_VERSION%
- activate test_env
- echo CONDA_PREFIX %CONDA_PREFIX%
- echo PATH %PATH%
- conda config --append channels conda-forge
- conda install qutip
- pip install .[simulation,visualization,dev]
build: off
test_script:
- ps: pytest --doctest-modules --cov=qnet src tests (get-item docs\*.rst).FullName