diff --git a/appveyor.yml b/appveyor.yml index 1e418c04..c6b64f30 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,5 @@ image: - Visual Studio 2017 - - Ubuntu1804 services: - mysql @@ -14,16 +13,14 @@ environment: VNPY_TEST_POSTGRESQL_USER: postgres VNPY_TEST_POSTGRESQL_PASSWORD: Password12! - matrix: - - aaafb: a - - bbb: fa - before_build: - psql -d postgresql://%VNPY_TEST_POSTGRESQL_USER%:%VNPY_TEST_POSTGRESQL_PASSWORD%@localhost -c "create database vnpy;" - - mysql -u %VNPY_TEST_MYSQL_USER% --password=%VNPY_TEST_MYSQL_PASSWORD% -e 'CREATE DATABASE vnpy;' + - ls "C:\Program Files" + - ls "C:\Program Files\MySQL\" + - ps: ls -Rec "C:\Program Files\MySQL\" + - ps: . "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql" -u %VNPY_TEST_MYSQL_USER% --password=%VNPY_TEST_MYSQL_PASSWORD% -e 'CREATE DATABASE vnpy;' - python -m pip install --upgrade pip wheel setuptools - install: - 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