Add pypy3; track coverage in Scrutinizer
This commit is contained in:
parent
59769d31d6
commit
0ae79be3a0
9
.scrutinizer.yml
Normal file
9
.scrutinizer.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
checks:
|
||||
python:
|
||||
code_rating: true
|
||||
duplicate_code: true
|
||||
filter:
|
||||
excluded_paths:
|
||||
- '*/test/*'
|
||||
tools:
|
||||
external_code_coverage: true
|
10
.travis.yml
10
.travis.yml
|
@ -5,17 +5,20 @@ python:
|
|||
- "3.3"
|
||||
- "3.4"
|
||||
- "pypy"
|
||||
- "pypy3"
|
||||
|
||||
sudo: false
|
||||
|
||||
install:
|
||||
- pip install -r test_requirements.txt
|
||||
- pip install coveralls
|
||||
- travis_retry pip install -r test_requirements.txt
|
||||
- travis_retry pip install coveralls
|
||||
|
||||
script: coverage run --source=pylast ./test_pylast.py
|
||||
|
||||
after_success:
|
||||
coveralls
|
||||
- coveralls
|
||||
- travis_retry pip install scrutinizer-ocular
|
||||
- ocular
|
||||
|
||||
after_script:
|
||||
- coverage report
|
||||
|
@ -36,4 +39,5 @@ matrix:
|
|||
allow_failures:
|
||||
- python: "3.4"
|
||||
- python: "pypy"
|
||||
- python: "pypy3"
|
||||
fast_finish: true
|
||||
|
|
Loading…
Reference in a new issue