Use Docker
This commit is contained in:
parent
098b747d8b
commit
59769d31d6
|
@ -1,15 +1,22 @@
|
||||||
language: python
|
language: python
|
||||||
|
|
||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
- "3.3"
|
- "3.3"
|
||||||
- "3.4"
|
- "3.4"
|
||||||
- "pypy"
|
- "pypy"
|
||||||
|
|
||||||
|
sudo: false
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip install -r test_requirements.txt
|
- pip install -r test_requirements.txt
|
||||||
- pip install coveralls
|
- pip install coveralls
|
||||||
|
|
||||||
script: coverage run --source=pylast ./test_pylast.py
|
script: coverage run --source=pylast ./test_pylast.py
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
coveralls
|
coveralls
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- coverage report
|
- coverage report
|
||||||
- ./check.sh
|
- ./check.sh
|
||||||
|
@ -17,6 +24,7 @@ after_script:
|
||||||
- clonedigger pylast.py
|
- clonedigger pylast.py
|
||||||
- grep "Clones detected" output.html
|
- grep "Clones detected" output.html
|
||||||
- grep "lines are duplicates" output.html
|
- grep "lines are duplicates" output.html
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
- secure: ivg6II471E9HV8xyqnawLIuP/sZ0J63Y+BC0BQcRVKtLn/K3zmD1ozM3TFL9S549Nxd0FqDKHXJvXsgaTGIDpK8sxE2AMKV5IojyM0iAVuN7YjPK9vwSlRw1u0EysPMFqxOZVQnoDyHrSGIUrP/VMdnhBu6dbUX0FyEkvZshXhY=
|
- secure: ivg6II471E9HV8xyqnawLIuP/sZ0J63Y+BC0BQcRVKtLn/K3zmD1ozM3TFL9S549Nxd0FqDKHXJvXsgaTGIDpK8sxE2AMKV5IojyM0iAVuN7YjPK9vwSlRw1u0EysPMFqxOZVQnoDyHrSGIUrP/VMdnhBu6dbUX0FyEkvZshXhY=
|
||||||
|
|
Loading…
Reference in a new issue