From 59769d31d64d91b01037e4fb5ce8a947031e8775 Mon Sep 17 00:00:00 2001 From: hugovk Date: Fri, 26 Dec 2014 15:28:25 +0200 Subject: [PATCH] Use Docker --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8987743..ceca581 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,22 @@ language: python + python: - "2.7" - "3.3" - "3.4" - "pypy" + +sudo: false + install: - pip install -r test_requirements.txt - pip install coveralls + script: coverage run --source=pylast ./test_pylast.py + after_success: coveralls + after_script: - coverage report - ./check.sh @@ -17,6 +24,7 @@ after_script: - clonedigger pylast.py - grep "Clones detected" output.html - grep "lines are duplicates" output.html + env: global: - secure: ivg6II471E9HV8xyqnawLIuP/sZ0J63Y+BC0BQcRVKtLn/K3zmD1ozM3TFL9S549Nxd0FqDKHXJvXsgaTGIDpK8sxE2AMKV5IojyM0iAVuN7YjPK9vwSlRw1u0EysPMFqxOZVQnoDyHrSGIUrP/VMdnhBu6dbUX0FyEkvZshXhY=