Skip to content

Commit

Permalink
Add Appveyor Windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mcs07 committed Feb 21, 2017
1 parent afa52de commit 7f36d59
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
platform:
- x64

environment:
matrix:
- PYTHON_VERSION: 2.7
MINICONDA: C:\Miniconda-x64
- PYTHON_VERSION: 3.5
MINICONDA: C:\Miniconda35-x64
- PYTHON_VERSION: 3.6
MINICONDA: C:\Miniconda36-x64

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

install:
- cmd: "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
- cmd: conda config --set always_yes yes --set changeps1 no
- cmd: conda update -q conda
- cmd: conda config --add channels chemdataextractor
- cmd: conda info -a
- cmd: conda create -q -n cde python=%PYTHON_VERSION% appdirs beautifulsoup4 click cssselect dawg lxml nltk pdfminer.six python-dateutil requests six python-crfsuite pyyaml pytest
- cmd: activate cde
- cmd: python setup.py install
- cmd: cde data download

test_script:
- pytest

0 comments on commit 7f36d59

Please sign in to comment.