From 014b76d118477967286206d8555988ad0b2accf7 Mon Sep 17 00:00:00 2001 From: hugovk Date: Sat, 8 Mar 2014 21:18:44 +0200 Subject: [PATCH] Jiggle tests for CI so Clone Digger can run on 2.x. It doesn't yet support 3.x and will fail but shouldn't fail the build. --- .travis.yml | 7 ++++++- test_requirements.txt | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fea9378..4778562 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,12 @@ install: script: coverage run --source=pylast ./test_pylast.py after_success: coveralls -after_script: ./check.sh +after_script: +- ./check.sh +- pip install clonedigger +- clonedigger pylast.py +- grep "Clones detected" output.html +- grep "lines are duplicates" output.html env: global: - secure: ivg6II471E9HV8xyqnawLIuP/sZ0J63Y+BC0BQcRVKtLn/K3zmD1ozM3TFL9S549Nxd0FqDKHXJvXsgaTGIDpK8sxE2AMKV5IojyM0iAVuN7YjPK9vwSlRw1u0EysPMFqxOZVQnoDyHrSGIUrP/VMdnhBu6dbUX0FyEkvZshXhY= diff --git a/test_requirements.txt b/test_requirements.txt index 83871a2..d304a29 100644 --- a/test_requirements.txt +++ b/test_requirements.txt @@ -1,4 +1,3 @@ -# clonedigger coverage pep8 pyyaml