Try fix ta-lib install

This commit is contained in:
Matthias 2019-01-08 20:35:08 +01:00
parent 64372ea6fb
commit df97652f6e
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ addons:
- libdw-dev - libdw-dev
- binutils-dev - binutils-dev
install: install:
- ./build_helpers/install_ta-lib.sh - cd build_helpers && ./install_ta-lib.sh
- export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH - export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
- pip install --upgrade flake8 coveralls pytest-random-order pytest-asyncio mypy - pip install --upgrade flake8 coveralls pytest-random-order pytest-asyncio mypy
- pip install -r requirements-dev.txt - pip install -r requirements-dev.txt

View File

@ -1,5 +1,5 @@
if [ ! -f "ta-lib/CHANGELOG.TXT" ]; then if [ ! -f "ta-lib/CHANGELOG.TXT" ]; then
tar zxvf build_helpers/ta-lib-0.4.0-src.tar.gz tar zxvf ta-lib-0.4.0-src.tar.gz
cd ta-lib \ cd ta-lib \
&& sed -i.bak "s|0.00000001|0.000000000000000001 |g" src/ta_func/ta_utility.h \ && sed -i.bak "s|0.00000001|0.000000000000000001 |g" src/ta_func/ta_utility.h \
&& ./configure \ && ./configure \