From e3941cde7e9ce966c1db61cd6df9ba5ef8efd6d1 Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Mon, 18 Dec 2017 07:15:14 +0200 Subject: [PATCH] move wgetting and building of talib to an sh file --- .travis.yml | 4 +--- install_ta-lib.sh | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100755 install_ta-lib.sh diff --git a/.travis.yml b/.travis.yml index e89bdbbf1..0e4c22263 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/install_ta-lib.sh b/install_ta-lib.sh new file mode 100755 index 000000000..077c08bae --- /dev/null +++ b/install_ta-lib.sh @@ -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 ..