[PATCH] travis: Run pep8 for py27 only
Daniel Axtens
dja at axtens.net
Sat Feb 3 16:39:20 AEDT 2018
Applied and pushed to master, thanks!
Regards,
Daniel
Daniel Axtens <dja at axtens.net> writes:
> Stephen Finucane <stephen at that.guru> writes:
>
>> Keep run times to a minimum.
>>
>> Signed-off-by: Stephen Finucane <stephen at that.guru>
>> ---
>> .travis.yml | 1 -
>> tox.ini | 4 ++++
>> 2 files changed, 4 insertions(+), 1 deletion(-)
>>
>> diff --git a/.travis.yml b/.travis.yml
>> index 7589fc7f..7e871da8 100644
>> --- a/.travis.yml
>> +++ b/.travis.yml
>> @@ -33,7 +33,6 @@ install:
>>
>> script:
>> - tox
>> - - tox -e pep8
>> - tox -e coverage
>>
>> after_success:
>> diff --git a/tox.ini b/tox.ini
>> index b70b6057..09505f78 100644
>> --- a/tox.ini
>> +++ b/tox.ini
>> @@ -71,3 +71,7 @@ commands =
>> coverage run --omit=*tox*,patchwork/tests/*.py,manage.py,patchwork/migrations/*.py \
>> --branch {toxinidir}/manage.py test --noinput patchwork
>> coverage report -m
>> +
>> +[travis]
>> +python =
>> + 2.7: py27, pep8
>
> I did not know this was a thing - awesome!
>
> Acked-by: Daniel Axtens <dja at axtens.net>
>
> Regards,
> Daniel
>
>> --
>> 2.14.3
More information about the Patchwork
mailing list