[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
# 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`