mod seq
This commit is contained in:
parent
4ae7282883
commit
b068685092
@ -17,6 +17,8 @@ environment:
|
||||
MYSQL_PWD: Password12!
|
||||
|
||||
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
|
||||
|
||||
build_script:
|
||||
@ -26,11 +28,6 @@ build_script:
|
||||
- pip install -r requirements.txt
|
||||
- pip install .
|
||||
|
||||
before_test:
|
||||
- ps: echo psql -d "postgresql://$ENV:VNPY_TEST_POSTGRESQL_USER:$ENV:VNPY_TEST_POSTGRESQL_PASSWORD@localhost" -c "create database vnpy;"
|
||||
- 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:
|
||||
- cd tests; source travis_env.sh;
|
||||
- python test_all.py
|
||||
|
Loading…
Reference in New Issue
Block a user