Skip to content

Commit 5ad3408

Browse files
committed
Add LD_LIBRARY_PATH to travis env
Find dlls for embedded tests on PY3
1 parent a019017 commit 5ad3408

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ script:
3939
- export PYTHONPATH=`pwd`:$PYTHONPATH
4040
- python -m pytest
4141

42+
# Set-up dll path for embedded tests
43+
- export LD_LIBRARY_PATH=/opt/python/2.7.9/lib:$LD_LIBRARY_PATH
44+
- export LD_LIBRARY_PATH=/opt/python/3.3.5/lib:$LD_LIBRARY_PATH
45+
- export LD_LIBRARY_PATH=/opt/python/3.4.2/lib:$LD_LIBRARY_PATH
46+
- export LD_LIBRARY_PATH=/opt/python/3.5.2/lib:$LD_LIBRARY_PATH
47+
- export LD_LIBRARY_PATH=/opt/python/3.6.0/lib:$LD_LIBRARY_PATH
48+
- export LD_LIBRARY_PATH=/opt/python/3.7.0/lib:$LD_LIBRARY_PATH
49+
- echo $LD_LIBRARY_PATH
4250
# Run embedded tests
4351
- mono ./packages/NUnit.*/tools/nunit3-console.exe src/embed_tests/bin/Python.EmbeddingTest.dll
4452

0 commit comments

Comments
 (0)