From b06868509283aa4d57319149352a1dfc4e8dd394 Mon Sep 17 00:00:00 2001 From: nanoric Date: Mon, 15 Apr 2019 06:10:29 -0400 Subject: [PATCH] mod seq --- appveyor.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 14f12227..5511872e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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