From 85b3e0c050540f2d676cbe38e4e99e46ece7c9c7 Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Tue, 11 Jul 2017 10:33:30 +0300 Subject: [PATCH] Fix AppVeyor - add Scripts to path for current Python Tests are failing, because only Python 2.7 is present in PATH --- .appveyor.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index 27f2ef3..fe14345 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -33,7 +33,10 @@ before_test: test_script: - ps: | + # e2e tests require `gl` binary &$env:PYTHON -m pip install . + # 'gl' is installed in Python Scripts directory + $env:PATH += ";$(Split-Path $env:PYTHON)\Scripts" &$env:PYTHON setup.py nosetests --logging-level=WARN --with-xunit if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) } # upload results to AppVeyor