Skip to content

Commit

Permalink
Add a flake8 job to Travis CI
Browse files Browse the repository at this point in the history
Also switch to xenial by default and upgrade PyPy versions.

And reindent the YAML to use 2-space indents, as that's the style I've
become accustomed to from Ansible.
  • Loading branch information
mgedmin committed Apr 12, 2019
1 parent aa548e9 commit e333ff2
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
language: python
sudo: false
dist: xenial
python:
- 2.7
- 3.4
- 3.5
- 3.6
- nightly
- pypy
- pypy3
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
- nightly
- pypy2.7-6.0.0
- pypy3.5-6.0.0
matrix:
include:
- python: 3.7
dist: xenial
sudo: true
include:
- name: flake8
install: pip install flake8
script: flake8 *.py
after_success:
install:
- pip install coverage coveralls
- pip install coverage coveralls
script:
- coverage run --source=profilehooks test_profilehooks.py
- coverage run --source=profilehooks test_profilehooks.py
after_success:
- coveralls
- coveralls
notifications:
email: false
email: false

0 comments on commit e333ff2

Please sign in to comment.