-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
44 lines (29 loc) · 967 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
38
39
40
41
42
43
44
environment:
matrix:
- PYTHON: "C:\\Miniconda36-x64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
- PYTHON: "C:\\Miniconda37-x64"
PYTHON_VERSION: "3.7"
PYTHON_ARCH: "64"
install:
# Make sure pip is around
- python -m ensurepip
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# Add conda-forge channel
- conda config --add channels conda-forge
# Always run commands without asking
- conda config --set always_yes yes
# Try to update conda first to avoid odd dependency clashes
- conda update --all
# Create test environment for package
- python devtools\\scripts\\create_conda_env.py -n=test -p=%PYTHON_VERSION% devtools\\conda-envs\\test_env.yaml
# Activate the test environment
- activate test
# Build and install package
- python setup.py develop --no-deps
build: false
test_script:
- pytest -v --cov=reference_handler reference_handler\\tests
on_success:
- codecov