From 3e37dfd1d76983058f6d9b503ae352b13646aca9 Mon Sep 17 00:00:00 2001 From: nanoric Date: Sun, 14 Apr 2019 13:23:02 -0400 Subject: [PATCH] [Fix] windows build --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9d0546ed..fdc00bbd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,8 @@ before_script: script: # todo: use python unittest - pip install psycopg2 mongoengine pymysql # we should support all database in test environment - - cd tests; source travis_env.sh; python test_all.py + - cd tests; source travis_env.sh; + - python test_all.py matrix: include: @@ -38,7 +39,7 @@ matrix: # language : cpp is necessary for windows language: "cpp" env: - - PATH=/c/Python37:/c/Python37/Scripts:$PATH + - PATH=/c/Python37:/c/Python37/Scripts:/c/tools/mysql/current/bin:/c/Program Files/PostgreSQL/10/bin:$PATH before_install: - choco install -yf mysql mongodb - choco install -yf postgresql10 --params '/Password:' @@ -98,7 +99,7 @@ matrix: # language : cpp is necessary for windows language: "cpp" env: - - PATH=/c/Python37:/c/Python37/Scripts:$PATH + - PATH=/c/Python37:/c/Python37/Scripts:/c/tools/mysql/current/bin:/c/Program Files/PostgreSQL/10/bin:$PATH before_install: - choco install -yf mysql mongodb - choco install -yf postgresql10 --params '/Password:'