[Add] env prefix

This commit is contained in:
nanoric 2019-04-15 05:59:34 -04:00
parent 807e8ab69b
commit 7e6207efb8

View File

@ -17,8 +17,8 @@ environment:
MYSQL_PWD: Password12! MYSQL_PWD: Password12!
before_build: before_build:
- ps: psql -d "postgresql://$VNPY_TEST_POSTGRESQL_USER:$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 $VNPY_TEST_MYSQL_USER -e '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 - python -m pip install --upgrade pip wheel setuptools
install: install: