From 0ae79be3a0de000e386f149d6428814998d2d8a2 Mon Sep 17 00:00:00 2001 From: hugovk Date: Fri, 26 Dec 2014 17:16:41 +0200 Subject: [PATCH] Add pypy3; track coverage in Scrutinizer --- .scrutinizer.yml | 9 +++++++++ .travis.yml | 10 +++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) create mode 100644 .scrutinizer.yml diff --git a/.scrutinizer.yml b/.scrutinizer.yml new file mode 100644 index 0000000..43dbfa3 --- /dev/null +++ b/.scrutinizer.yml @@ -0,0 +1,9 @@ +checks: + python: + code_rating: true + duplicate_code: true +filter: + excluded_paths: + - '*/test/*' +tools: + external_code_coverage: true diff --git a/.travis.yml b/.travis.yml index ceca581..9271b54 100644 --- a/.travis.yml +++ b/.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