Skip to content

Commit

Permalink
Run flake8 in warning only mode on Python 2 and 3
Browse files Browse the repository at this point in the history
This will help us find and fix the Python 3 syntax errors (print_function, etc.)
  • Loading branch information
cclauss authored Jun 28, 2017
1 parent 196f553 commit 1693a8d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
sudo: false
dist: trusty
language: python
python:
- "2.7.13"
- "3.6.1"
- "nightly" # currently points to 3.7-dev
before_install:
- pip install flake8
- flake8 . --exit-zero --select=E901,E999
install:
- pip install numpy
- pip install .
script: py.test -s
script: py.test -s

0 comments on commit 1693a8d

Please sign in to comment.