[Fix] try fix
This commit is contained in:
parent
37a2aa754f
commit
39930e9db3
@ -50,7 +50,7 @@ matrix:
|
||||
before_install: []
|
||||
install:
|
||||
- pip3 install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl
|
||||
- bash ./install.sh python3 pip3
|
||||
- bash ./install.sh python3 pip3 /usr/local
|
||||
|
||||
script:
|
||||
- pip3 install psycopg2 mongoengine pymysql # we should support all database in test environment
|
||||
|
@ -2,16 +2,18 @@
|
||||
|
||||
python=$1
|
||||
pip=$2
|
||||
prefix=$3
|
||||
|
||||
[[ -z $python ]] && python=python
|
||||
[[ -z $pip ]] && pip=pip
|
||||
[[ -z $prefix ]] && prefix=/usr
|
||||
|
||||
# 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/local
|
||||
./configure --prefix=$prefix
|
||||
make
|
||||
sudo make install
|
||||
popd
|
||||
|
Loading…
Reference in New Issue
Block a user