-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
33 lines (23 loc) · 811 Bytes
/
Copy pathappveyor.yml
File metadata and controls
33 lines (23 loc) · 811 Bytes
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
environment:
matrix:
- PYTHON: "C:\\Miniconda36-x64"
PYTHON_VERSION: "3.6"
PYTHON_ARCH: "64"
install:
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
# Add conda-forge channel
- conda config --add channels conda-forge
# Try to update conda first to avoid odd dependency clashes
- conda update --yes --all
- conda install --yes conda-build
# Create test environment for package
- conda create --yes -n test python=%PYTHON_VERSION% pip pytest pytest-cov
- activate test
# Install any pip only modules
- pip install codecov
# Build and install package
- conda build --quiet --python=%PYTHON_VERSION% devtools\\conda-recipe
- conda install --yes --use-local torsiondrive
build: false
test_script:
- pytest -v --cov=torsiondrive torsiondrive\\tests