forked from QCoDeS/broadbean
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
37 lines (31 loc) · 933 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
37
# AppVeyor configuration file for broadbean
branches:
only:
- master
- version1.0
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 info -a
- conda create -q -n test-environment python=%PYTHON_VERSION% pip setuptools
- activate test-environment
- python -m pip install --upgrade pip
- pip install -r test_requirements.txt
# temporary solution while waiting for all files for matplotlib 3.0.0 on pypi
- pip install matplotlib==2.2.3
- pip install .
# Test scripts
test_script:
- mypy broadbean --ignore-missing-imports
- cd tests
- pytest
- cd ../docs
- execute_notebooks.cmd