CI: Download and build ta-lib only if needed.

This commit is contained in:
Markus K
2020-12-30 13:45:17 +01:00
committed by GitHub
parent bac01f7dec
commit 2ff415f676

View File

@@ -11,11 +11,10 @@ python:
before_install:
- cd
- pip3 install Cython numpy
- wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz -q
- tar -xzf ta-lib-0.4.0-src.tar.gz
- if [ ! -f "$HOME/ta-lib/src" ]; then wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz -q && tar -xzf ta-lib-0.4.0-src.tar.gz; fi
- cd ta-lib/
- ./configure --prefix=/usr
- make
- if [ ! -f "$HOME/ta-lib/src" ]; then make; fi
- sudo make install
- cd
# command to install dependencies