cache ta-lib folder, skip build if cache exists
This commit is contained in:
parent
4c0a316e3e
commit
e5f8c1e75d
@ -33,3 +33,4 @@ notifications:
|
||||
cache:
|
||||
directories:
|
||||
- $HOME/.cache/pip
|
||||
- ta-lib
|
@ -1,3 +1,8 @@
|
||||
if [ ! -d "ta-lib" ]; then
|
||||
wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
|
||||
tar zxvf ta-lib-0.4.0-src.tar.gz
|
||||
cd ta-lib && ./configure && make && sudo make install && cd ..
|
||||
else
|
||||
echo "TA-lib already installed, skipping download and build."
|
||||
cd ta-lib && sudo make install && cd ..
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user