Skip to content

Commit

Permalink
Merge pull request #44 from jakirkham/ci_run_flake8
Browse files Browse the repository at this point in the history
Run flake8 on CI
  • Loading branch information
jakirkham committed Sep 27, 2017
2 parents 50b5544 + e077b51 commit 4d0b336
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@ install:
# Install the package and dependencies.
- pip install -e .

# command to run tests, e.g. python setup.py test
script:
# Run our test suite and report coverage.
- coverage erase
- coverage run --source . setup.py test
- coverage report -m

# Do some basic linting of the code.
- flake8 .

# Report coverage
after_success:
- source activate root
Expand Down
1 change: 1 addition & 0 deletions environment_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
- coverage==4.0.3
- python-coveralls==2.7.0
- pytest==3.0.5
- flake8==3.2.1
- dask==0.13.0
- numpy==1.11.3
- scipy==0.19.1

0 comments on commit 4d0b336

Please sign in to comment.