Merge pull request #1612 from nanoric/database_dependents
[Mod] move psycopg2, pymysql into install requirements
This commit is contained in:
commit
868dab01f7
@ -20,7 +20,6 @@ before_script:
|
||||
- mysql -u root --password=${VNPY_TEST_MYSQL_PASSWORD} -e 'CREATE DATABASE vnpy;'
|
||||
|
||||
script:
|
||||
- pip install psycopg2 mongoengine pymysql # we should support all database in test environment
|
||||
- cd tests; source travis_env.sh;
|
||||
- python test_all.py
|
||||
|
||||
@ -90,6 +89,5 @@ matrix:
|
||||
- bash ./install_osx.sh
|
||||
before_script: []
|
||||
script:
|
||||
- pip3 install psycopg2 mongoengine pymysql # we should support all database in test environment
|
||||
- cd tests; source travis_env.sh;
|
||||
- VNPY_TEST_ONLY_SQLITE=1 python3 test_all.py
|
||||
|
@ -46,7 +46,6 @@ for:
|
||||
only:
|
||||
- configuration: pip
|
||||
build_script:
|
||||
- pip install psycopg2 mongoengine pymysql # we should support all database in test environment
|
||||
- call install.bat
|
||||
|
||||
- matrix:
|
||||
@ -54,7 +53,6 @@ for:
|
||||
- configuration: sdist
|
||||
build_script:
|
||||
- python setup.py sdist
|
||||
- pip install psycopg2 mongoengine pymysql # we should support all database in test environment
|
||||
- pip install --pre --extra-index-url https://rquser:ricequant99@py.ricequant.com/simple/ rqdatac
|
||||
- pip install https://pip.vnpy.com/colletion/TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl
|
||||
- pip install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl
|
||||
|
@ -5,6 +5,9 @@ qdarkstyle
|
||||
requests
|
||||
websocket-client
|
||||
peewee
|
||||
pymysql
|
||||
psycopg2
|
||||
mongoengine
|
||||
numpy
|
||||
pandas
|
||||
matplotlib
|
||||
@ -14,4 +17,3 @@ tigeropen
|
||||
rqdatac
|
||||
ta-lib
|
||||
ibapi
|
||||
mongoengine
|
||||
|
Loading…
Reference in New Issue
Block a user