move wgetting and building of talib to an sh file

This commit is contained in:
Janne Sinivirta 2017-12-18 07:15:14 +02:00
parent 642422d5c4
commit e3941cde7e
2 changed files with 4 additions and 3 deletions

View File

@ -11,9 +11,7 @@ addons:
- libdw-dev
- binutils-dev
install:
- 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 && sudo make && sudo make install && cd ..
- ./install_ta-lib.sh
- export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
- pip install flake8 coveralls
- pip install -r requirements.txt

3
install_ta-lib.sh Executable file
View File

@ -0,0 +1,3 @@
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 && sudo make && sudo make install && cd ..