fix travis script for running python tests

This commit is contained in:
arvidn 2017-02-07 17:26:34 -05:00 committed by Arvid Norberg
parent c4d96c7aa9
commit 61f9f6bb7f
1 changed files with 2 additions and 2 deletions

View File

@ -120,12 +120,12 @@ script:
# here we specify the temporary lib dir as a path to look for the main library
# a binary built with sanitizer does not interact well with python
- cd bindings/python
- 'if [[ $lang != "sanitizer" ]]; then
cd bindings/python;
bjam --hash -j3 warnings-as-errors=on debug-iterators=on picker-debugging=on invariant-checks=full variant=$variant $coverage_toolset stage_module libtorrent-link=shared install-type=LIB dll-path=../../lib;
LD_LIBRARY_PATH=../../lib DYLD_LIBRARY_PATH=../../lib python test.py;
cd ../..;
fi'
- cd ../..
- cd simulation
- if [ $sim = "1" ]; then