Skip to content

Commit a019017

Browse files
committed
Cleanup/Comment Python.Runtime.dll.config & travis
We don't need the `*.dll` variant since we don't call for those in `runtime.cs` Enable embedded tests on travis
1 parent d7942c8 commit a019017

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ install:
3535
- coverage run setup.py build_ext --inplace
3636

3737
script:
38+
# Set-up and run python tests
3839
- export PYTHONPATH=`pwd`:$PYTHONPATH
3940
- python -m pytest
40-
# - mono ./packages/NUnit.*/tools/nunit3-console.exe src/embed_tests/bin/Python.EmbeddingTest.dll
41+
42+
# Run embedded tests
43+
- mono ./packages/NUnit.*/tools/nunit3-console.exe src/embed_tests/bin/Python.EmbeddingTest.dll
4144

4245
after_success:
4346
# Uncomment if need to geninterop, ie. py37 final

Python.Runtime.dll.config

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,12 @@
44
Keep this file next to Python.Runtime.dll
55
For more information read:
66
http://www.mono-project.com/Config
7-
http://www.mono-project.com/Config_DllMap -->
7+
http://www.mono-project.com/docs/advanced/pinvoke/dllmap -->
8+
<!-- Only really needed for PY2-->
89
<dllmap dll="python27" target="libpython2.7.so" os="!windows" />
910
<dllmap dll="python33" target="libpython3.3.so" os="!windows" />
1011
<dllmap dll="python34" target="libpython3.4.so" os="!windows" />
1112
<dllmap dll="python35" target="libpython3.5.so" os="!windows" />
1213
<dllmap dll="python36" target="libpython3.6.so" os="!windows" />
1314
<dllmap dll="python37" target="libpython3.7.so" os="!windows" />
14-
<dllmap dll="python27.dll" target="libpython2.7.so" os="!windows" />
15-
<dllmap dll="python33.dll" target="libpython3.3.so" os="!windows" />
16-
<dllmap dll="python34.dll" target="libpython3.4.so" os="!windows" />
17-
<dllmap dll="python35.dll" target="libpython3.5.so" os="!windows" />
18-
<dllmap dll="python36.dll" target="libpython3.6.so" os="!windows" />
19-
<dllmap dll="python37.dll" target="libpython3.7.so" os="!windows" />
2015
</configuration>

0 commit comments

Comments
 (0)