Skip to content

Commit

Permalink
add appveyor testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Mar 7, 2019
1 parent 9f2299a commit d294afd
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .appveyor.yml
@@ -0,0 +1,30 @@
build: false

environment:
matrix:
- PYTHON: "C:\\Miniconda36-x64"
PY: 3.7

init:
- "ECHO %PYTHON_VERSION% %MINICONDA%"

install:
# Install and configure miniconda.
- "set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"
- conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
- conda update conda --quiet
- conda config --add channels conda-forge --force
- conda install pycryptosat
- conda config --set safety_checks disabled

# Create the test env.
- conda create --name TEST python=%PY% --file requirements.txt --file requirements-dev.txt
- activate TEST

# Debug.
- conda info --all
- conda list

test_script:
- pip install -e . --no-deps --force-reinstall
- pytest -n 2 -rxXs tests
3 changes: 3 additions & 0 deletions requirements-dev.txt
Expand Up @@ -22,6 +22,9 @@ pandas
pillow
pycodestyle
pytest
pytest-cov
pytest-flake8
pytest-xdist
scipy
selenium
sphinx
Expand Down

0 comments on commit d294afd

Please sign in to comment.