Skip to content

Commit d294afd

Browse files
committed
add appveyor testing
1 parent 9f2299a commit d294afd

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

.appveyor.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
build: false
2+
3+
environment:
4+
matrix:
5+
- PYTHON: "C:\\Miniconda36-x64"
6+
PY: 3.7
7+
8+
init:
9+
- "ECHO %PYTHON_VERSION% %MINICONDA%"
10+
11+
install:
12+
# Install and configure miniconda.
13+
- "set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
14+
- conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
15+
- conda update conda --quiet
16+
- conda config --add channels conda-forge --force
17+
- conda install pycryptosat
18+
- conda config --set safety_checks disabled
19+
20+
# Create the test env.
21+
- conda create --name TEST python=%PY% --file requirements.txt --file requirements-dev.txt
22+
- activate TEST
23+
24+
# Debug.
25+
- conda info --all
26+
- conda list
27+
28+
test_script:
29+
- pip install -e . --no-deps --force-reinstall
30+
- pytest -n 2 -rxXs tests

requirements-dev.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ pandas
2222
pillow
2323
pycodestyle
2424
pytest
25+
pytest-cov
26+
pytest-flake8
27+
pytest-xdist
2528
scipy
2629
selenium
2730
sphinx

0 commit comments

Comments
 (0)