[Fix] try fix travis.yml

This commit is contained in:
nanoric 2019-03-29 02:49:18 -04:00
parent 816e4a17fb
commit d1c63bb05f

View File

@ -86,16 +86,14 @@ matrix:
- sudo update-alternatives --install /usr/bin/gcc cc /usr/bin/gcc-8 90 - sudo update-alternatives --install /usr/bin/gcc cc /usr/bin/gcc-8 90
# Linux install script # Linux install script
- python -m pip install --upgrade pip wheel setuptools - python -m pip install --upgrade pip wheel setuptools
- # Get and build ta-lib - pushd /tmp
pushd /tmp - wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz
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
tar -xf ta-lib-0.4.0-src.tar.gz - cd ta-lib
cd ta-lib - ./configure --prefix=/usr
./configure --prefix=/usr - make
make - sudo make install
sudo make install - popd
popd - pip instal numpy
# ta-lib import numpy in setup.py, so we must install it before installing ta-lib
pip instal numpy
- python setup.py sdist - python setup.py sdist
- pip install dist/`ls dist` - pip install dist/`ls dist`