forked from PrincetonUniversity/PsyNeuLink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
50 lines (41 loc) · 1.46 KB
/
.appveyor.yml
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
version: '{build}'
clone_depth: 25
branches:
only:
- master
- devel
- appveyor
- /devel.*/
- /.*-avy/
- /ci-.*/
environment:
PYTHONWARNINGS: ignore::DeprecationWarning
GRAPHVIZ_VERSION: 2.38
GRAPHVIZ_INSTALLER: graphviz-%GRAPHVIZ_VERSION%.msi
PATH: '%APPDATA%\Python\%PYTHON%\Scripts;C:\%PYTHON%%ARCH%\Scripts;C:\%PYTHON%\Scripts;C:\Program Files (x86)\Graphviz%GRAPHVIZ_VERSION%\bin;%PATH%'
matrix:
- PYTHON: Python36
EXTRA_ARGS: -m llvm
- PYTHON: Python37
EXTRA_ARGS: -m llvm
- PYTHON: Python38
EXTRA_ARGS: -m llvm
install:
- if not exist %GRAPHVIZ_INSTALLER% appveyor-retry curl https://graphviz.gitlab.io/_pages/Download/windows/%GRAPHVIZ_INSTALLER% -o %GRAPHVIZ_INSTALLER%
- msiexec.exe /i %GRAPHVIZ_INSTALLER% /passive
- pip --version
- pip install --user -U pip
- pip --version
- pip install --user git+https://github.com/benureau/leabra.git@master
# pytorch does not distribute windows packages over pypi. Install it directly.
- if not "%ARCH%" == "" (pip install --user torch -f https://download.pytorch.org/whl/cpu/torch_stable.html)
- pip install --user -e .[dev]
cache:
- '%LOCALAPPDATA%\pip\Cache'
- '%GRAPHVIZ_INSTALLER%'
build: off
test_script:
- pytest --junit-xml=tests_out.xml -n auto --strict-markers %EXTRA_ARGS%
on_finish:
# Upload tests to appveyor overview
- appveyor-retry curl -X POST -F "file=@tests_out.xml" https://ci.appveyor.com/api/testresults/junit/%APPVEYOR_JOB_ID%