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