-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
46 lines (37 loc) · 1.29 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
37
38
39
40
41
42
43
44
45
46
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.
#---------------------------------#
# general configuration #
#---------------------------------#
# version format
version: 0.10.1.build{build}
environment:
matrix:
- PYTHON_VERSION: 2.7
MINICONDA: C:\Miniconda
ARCH: "32"
- PYTHON_VERSION: 2.7
MINICONDA: C:\Miniconda-x64
ARCH: "64"
init:
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) # RDP
- "ECHO %PYTHON_VERSION% %MINICONDA%"
install:
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- conda config --set always_yes yes --set changeps1 no
- conda update --quiet conda
- conda info --all
- conda create -n _dtocean_qt python=%PYTHON_VERSION% pip pyyaml
- activate _dtocean_qt
- copy .condarc %CONDA_PREFIX%
- conda install --file requirements-conda-dev.txt
- pip install -e .
- conda install -c conda-forge "pytest<4" pytest-qt pytest-cov
build: off
test_script:
- py.test --cov dtocean_qt tests
after_test:
- pip install codecov
- codecov