diff mbox series

travis: Run pep8 for py27 only

Message ID 20180126214751.11775-1-stephen@that.guru
State Accepted
Headers show
Series travis: Run pep8 for py27 only | expand

Commit Message

Stephen Finucane Jan. 26, 2018, 9:47 p.m. UTC
Keep run times to a minimum.

Signed-off-by: Stephen Finucane <stephen@that.guru>
---
 .travis.yml | 1 -
 tox.ini     | 4 ++++
 2 files changed, 4 insertions(+), 1 deletion(-)

Comments

Daniel Axtens Jan. 27, 2018, 2:05 a.m. UTC | #1
Stephen Finucane <stephen@that.guru> writes:

> Keep run times to a minimum.
>
> Signed-off-by: Stephen Finucane <stephen@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@axtens.net>

Regards,
Daniel

> -- 
> 2.14.3
Daniel Axtens Feb. 3, 2018, 5:39 a.m. UTC | #2
Applied and pushed to master, thanks!

Regards,
Daniel

Daniel Axtens <dja@axtens.net> writes:

> Stephen Finucane <stephen@that.guru> writes:
>
>> Keep run times to a minimum.
>>
>> Signed-off-by: Stephen Finucane <stephen@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@axtens.net>
>
> Regards,
> Daniel
>
>> -- 
>> 2.14.3
diff mbox series

Patch

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