diff mbox series

[4/7] travis: run pep8/flake8 tests

Message ID 20180125024317.14709-5-dja@axtens.net
State Accepted
Headers show
Series Various fixes | expand

Commit Message

Daniel Axtens Jan. 25, 2018, 2:43 a.m. UTC
Add the test at the end of each run. This is inefficient but simpler
than adding a matrix entry. It's also very fast so there's no slowdown.

While there, remove the 'codecov' package: tox will bring it in
automatically.

Signed-off-by: Daniel Axtens <dja@axtens.net>
---
 .travis.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Finucane Jan. 26, 2018, 9:23 p.m. UTC | #1
On Thu, 2018-01-25 at 13:43 +1100, Daniel Axtens wrote:
> Add the test at the end of each run. This is inefficient but simpler
> than adding a matrix entry. It's also very fast so there's no
> slowdown.
> 
> While there, remove the 'codecov' package: tox will bring it in
> automatically.
> 
> Signed-off-by: Daniel Axtens <dja@axtens.net>

I think we can optimize this slightly, but this will do for now.

Reviewed-by: Stephen Finucane <stephen@that.guru>
diff mbox series

Patch

diff --git a/.travis.yml b/.travis.yml
index f19fe4f3fa35..f43baa11e887 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,10 +29,10 @@  before_script:
 
 install:
   - pip install tox-travis
-  - pip install codecov
 
 script:
   - tox
+  - tox -e pep8
   - tox -e coverage
 
 after_success: