From d1c63bb05f04e55877fd337e231681b3b2c0380b Mon Sep 17 00:00:00 2001 From: nanoric Date: Fri, 29 Mar 2019 02:49:18 -0400 Subject: [PATCH] [Fix] try fix travis.yml --- .travis.yml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index bd689f66..c986d10e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -86,16 +86,14 @@ matrix: - sudo update-alternatives --install /usr/bin/gcc cc /usr/bin/gcc-8 90 # Linux install script - python -m pip install --upgrade pip wheel setuptools - - # Get and build ta-lib - pushd /tmp - wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz - tar -xf ta-lib-0.4.0-src.tar.gz - cd ta-lib - ./configure --prefix=/usr - make - sudo make install - popd - # ta-lib import numpy in setup.py, so we must install it before installing ta-lib - pip instal numpy + - pushd /tmp + - wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz + - tar -xf ta-lib-0.4.0-src.tar.gz + - cd ta-lib + - ./configure --prefix=/usr + - make + - sudo make install + - popd + - pip instal numpy - python setup.py sdist - pip install dist/`ls dist`