Skip to content

Commit da53add

Browse files
authored
windows: Enable AppVeyor testing (#83)
* windows: Enable AppVeyor testing * let me try this * Final try. tired to debug..
1 parent 345816c commit da53add

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

appveyor.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
environment:
2+
matrix:
3+
- PYTHON_VERSION: "3.6"
4+
PYTHON_ARCH: "64"
5+
MINICONDA: C:\Miniconda36-x64
6+
7+
branches:
8+
only:
9+
- master
10+
- /release-.*/
11+
12+
skip_commits:
13+
message: /\[av skip\]/
14+
15+
notifications:
16+
- provider: Email
17+
on_build_success: false
18+
on_build_failure: false
19+
on_build_status_changed: false
20+
21+
init:
22+
- "ECHO %PYTHON_VERSION% %PYTHON_ARCH% %MINICONDA%"
23+
24+
install:
25+
- "SET PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
26+
- conda config --set always_yes yes --set changeps1 no
27+
- conda update -q conda
28+
- conda install -n root _license
29+
- conda info -a
30+
- "conda create -q -n test-environment python=%PYTHON_VERSION% numpy scipy cython nose pytorch -c pytorch"
31+
- activate test-environment
32+
33+
build_script:
34+
- pip install -e ".[test]"
35+
- python -c "import nltk; nltk.download('cmudict')"
36+
37+
test_script:
38+
- nosetests -v -w tests/ -a "!local_only"

0 commit comments

Comments
 (0)