Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31f0b30 commit fcd1cd2Copy full SHA for fcd1cd2
1 file changed
.travis.yml
@@ -40,12 +40,9 @@ script:
40
- python -m pytest
41
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
+ - OUTPUT=$(python --version 2>&1)
+ - PY_VER=${OUTPUT:7:9}
+ - export LD_LIBRARY_PATH=/opt/python/$PY_VER/lib:$LD_LIBRARY_PATH
49
- echo $LD_LIBRARY_PATH
50
- cp Python.Runtime.dll.config src/embed_tests/bin/Python.Runtime.dll.config
51
# Run embedded tests
0 commit comments