forked from microsoft/Qcodes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
36 lines (30 loc) · 829 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
30
31
32
33
34
35
36
# AppVeyor configuration file for QCoDeS
branches:
only:
- master
environment:
global:
CONDA_INSTALL_LOCATION: "C:\\Miniconda36-x64"
# Do not use MSBuild
build: false
# Init scripts
# Install scripts
install:
- set PATH=%CONDA_INSTALL_LOCATION%;%CONDA_INSTALL_LOCATION%\scripts;%PATH%;
- conda config --set always_yes true # else AppVeyor will hang forever waiting for user ([y]/n)
- conda update -n base conda
- conda env create -q -f environment.yml python=3.6
- activate qcodes
- pip install -r test_requirements.txt
- pip install -r docs_requirements.txt
- python -m pip install --upgrade pip
- pip install .
# Test scripts
test_script:
- cd qcodes
- cd tests
- pytest
- cd ..\..
- mypy qcodes --ignore-missing-imports --no-strict-optional
- cd docs
- execute_notebooks.cmd