[Mod] new sequence
This commit is contained in:
parent
7e6207efb8
commit
c4b29254c5
10
appveyor.yml
10
appveyor.yml
@ -16,18 +16,20 @@ environment:
|
|||||||
VNPY_TEST_POSTGRESQL_PASSWORD: Password12!
|
VNPY_TEST_POSTGRESQL_PASSWORD: Password12!
|
||||||
MYSQL_PWD: Password12!
|
MYSQL_PWD: Password12!
|
||||||
|
|
||||||
before_build:
|
install:
|
||||||
- ps: psql -d "postgresql://$ENV:VNPY_TEST_POSTGRESQL_USER:$ENV:VNPY_TEST_POSTGRESQL_PASSWORD@localhost" -c "create database vnpy;"
|
|
||||||
- ps: . "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql" -u $ENV:VNPY_TEST_MYSQL_USER -e 'CREATE DATABASE vnpy;'
|
|
||||||
- python -m pip install --upgrade pip wheel setuptools
|
- python -m pip install --upgrade pip wheel setuptools
|
||||||
|
|
||||||
install:
|
build_script:
|
||||||
- pip install psycopg2 mongoengine pymysql # we should support all database in test environment
|
- pip install psycopg2 mongoengine pymysql # we should support all database in test environment
|
||||||
- pip install https://pip.vnpy.com/colletion/TA_Lib-0.4.17-cp37-cp37m-win_amd64.whl
|
- 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
|
- pip install https://pip.vnpy.com/colletion/ibapi-9.75.1-001-py3-none-any.whl
|
||||||
- pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
- pip install .
|
- pip install .
|
||||||
|
|
||||||
|
before_test:
|
||||||
|
- ps: psql -d "postgresql://$ENV:VNPY_TEST_POSTGRESQL_USER:$ENV:VNPY_TEST_POSTGRESQL_PASSWORD@localhost" -c "create database vnpy;"
|
||||||
|
- ps: . "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql" -u $ENV:VNPY_TEST_MYSQL_USER -e 'CREATE DATABASE vnpy;'
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- cd tests; source travis_env.sh;
|
- cd tests; source travis_env.sh;
|
||||||
- python test_all.py
|
- python test_all.py
|
||||||
|
Loading…
Reference in New Issue
Block a user