File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,9 @@ script:
4040 - python -m pytest
4141
4242 # 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
43+ - OUTPUT=$(python --version 2>&1)
44+ - PY_VER=${OUTPUT:7:9}
45+ - export LD_LIBRARY_PATH=/opt/python/$PY_VER/lib:$LD_LIBRARY_PATH
4946 - echo $LD_LIBRARY_PATH
5047 - cp Python.Runtime.dll.config src/embed_tests/bin/Python.Runtime.dll.config
5148 # Run embedded tests
You can’t perform that action at this time.
0 commit comments