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:
40
40
- python -m pytest
41
41
42
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
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
49
46
- echo $LD_LIBRARY_PATH
50
47
- cp Python.Runtime.dll.config src/embed_tests/bin/Python.Runtime.dll.config
51
48
# Run embedded tests
You can’t perform that action at this time.
0 commit comments