From 7e6207efb8f27d9000d2cc5c4ff5bd7a722ac433 Mon Sep 17 00:00:00 2001 From: nanoric Date: Mon, 15 Apr 2019 05:59:34 -0400 Subject: [PATCH] [Add] env prefix --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: