forked from opensim-org/opensim-models
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
52 lines (39 loc) · 1.51 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
51
# Windows testing python
# Syntax for this file:
# http://www.appveyor.com/docs/appveyor-yml
shallow_clone: true
os: Visual Studio 2017
platform: x64
# No need to run CI on the branch if we're also running CI for a PR.
skip_branch_with_pr: true
nuget:
disable_publish_on_pr: true
init:
# Note: add v3.7 64bit earlier on the PATH.
# http://www.appveyor.com/docs/installed-software
- SET PATH=C:\Python37-x64\;%PATH%
- SET OPENSIM_HOME=C:/opensim-core-VC141
- SET PATH=%OPENSIM_HOME%/bin;%PATH%
# The following line, if uncommented, should allow you to remote-desktop into
# the Appveyor build machine.
#- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
install:
## install python-nose for python testing
- C:\Python37-x64\Scripts\pip install nose numpy
## OpenSim (and Simbody).
# OpenSim's installation is pushed to one of our Appveyor NuGet feeds.
- nuget sources add -name opensim-core -source https://ci.appveyor.com/nuget/opensim-core-kd63opes1em0
- nuget install opensim-core-VC141 -Version 0.0.0 -ExcludeVersion -OutputDirectory C:\
# - dir C:\
## Our tests work with each verison
- cd %OPENSIM_HOME%\sdk\python
- python setup.py install
#- cd %APPVEYOR_BUILD_FOLDER%
build_script:
- echo "Nothing to build."
test_script:
# Move to the correct folder
- cd %APPVEYOR_BUILD_FOLDER%
# Run the python tests-
#- C:\Python27-x64\Scripts\nosetests -v
- C:\Python37-x64\python.exe test_models.py