diff --git a/appveyor.yml b/appveyor.yml index 4c2f9385..2a09eb10 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -17,8 +17,8 @@ environment: MYSQL_PWD: Password12! before_build: - - ps: psql -d "postgresql://$VNPY_TEST_POSTGRESQL_USER:$VNPY_TEST_POSTGRESQL_PASSWORD@localhost" -c "create database vnpy;" - - ps: . "C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql" -u $VNPY_TEST_MYSQL_USER -e '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;' - python -m pip install --upgrade pip wheel setuptools install: