Message ID | 20180126214751.11775-1-stephen@that.guru |
---|---|
State | Accepted |
Headers | show |
Series | travis: Run pep8 for py27 only | expand |
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
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 --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
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(-)