Skip to content

Commit

Permalink
travis: use pip.exe instead of going through python; the later is not…
Browse files Browse the repository at this point in the history
… supported with py2.6
  • Loading branch information
lazka committed Aug 15, 2016
1 parent ac0fa55 commit f3ae049
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion run_wine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ wget -P "$DIR" -c "https://www.python.org/ftp/python/$VERSION/python-$VERSION.ms
wine msiexec /a "$DIR/python-$VERSION.msi" /qb

PYTHONEXE="$WINEPREFIX/drive_c/$DIRNAME/python.exe"
PIPEXE="$WINEPREFIX/drive_c/$DIRNAME/Scripts/pip.exe"
wget "https://bootstrap.pypa.io/get-pip.py"
wine "$PYTHONEXE" get-pip.py
wine "$PYTHONEXE" -m pip install pytest
wine "$PIPEXE" install pytest
wine "$PYTHONEXE" ${@:2}
exit_code=$?
wineserver --wait
Expand Down

0 comments on commit f3ae049

Please sign in to comment.