Closed deniszh closed 4 years ago
Looking for Graphite-web results I think it's a good idea to test on latest pip and virtualenv. When pip deprecate 2.7 we can exclude it or pin version.
I'd lean towards just upgrading pip/virtualenv for python2.7 - following the other patterns, something like
- if [[ $TOXENV == py2* ]]; then pip install --upgrade pip virtualenv; fi
(I suspect the bash -c "..."
wrapper isn't necessary, but that's a separate thing that could be simplified later I guess.)
But anyway, no significant objection to doing it your way, that's also fine.
EDIT: I guess travis-ci might use /bin/sh for these script lines, which is "dash" instead of "bash" on debian and ubuntu, and that's why bash -c "..."
is needed for the [[ ... ]]
expressions which are bash features not posix ... nvm
@ploxiln: Maybe you're right. Let's stick to 2.7 for now.
looks good, thanks :) 👍
Will merge that for now and trigger tests in all non-merged PRs.
Ok, by default Travis use system
pip
andvirtualenv
. I tried to upgrade it before running tests - it works fine now. Should we do that for all envs? Or keep it only for 2.7? @piotr1212 @DanCech @ploxiln ?