forked from anhaidgroup/py_entitymatching
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
63 lines (44 loc) · 1.38 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
environment:
global:
CONDA_INSTALL_LOCN: "C:\\Miniconda-x64"
matrix:
- PYTHON_VERSION: "3.6"
- PYTHON_VERSION: "3.7"
- PYTHON_VERSION: "3.8"
- PYTHON_VERSION: "3.9"
platform:
- x64
install:
- SET PATH=%CONDA_INSTALL_LOCN%;%CONDA_INSTALL_LOCN%\Scripts;%PATH%
# Config
- conda config --set always_yes yes
- conda update -n base -c defaults conda
- conda config --set restore_free_channel true
# Manage dependencies in a conda environment
- conda create --yes -n py_entitymatching_test_env python=%PYTHON_VERSION% --no-default-packages
- activate py_entitymatching_test_env
# Package dependencies
- python -m pip install --upgrade pip
- pip install numpy
- pip install -r requirements.txt
- pip install PyQt5
# Build dependencies
- pip install Cython
# Build extensions
- python setup.py build_ext --inplace
build: false
test_script:
- activate py_entitymatching_test_env
# Test dependencies
- pip install nose
# Nosetests take care of unit tests
- nosetests
# Test distribution
- python setup.py sdist bdist_wheel
# Behave runs the example scripts and tries to verify if it produces the right output
#- behave --tags ~@skip # Everything without the tag @skip
on_success:
# Could run coveralls here but will leave that to travis tests
- echo Build successful!
#- coverage report
# coveralls