Skip to content

Commit

Permalink
Updated Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ercpe committed Jun 1, 2017
1 parent ae85137 commit aafab42
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
TARGET?=tests

VERSION := $(shell grep -Po '"(.*)"' smartcheck/__init__.py | sed -e 's/"//g')

test_default_python:
PYTHONPATH="." python tests/ -v

Expand Down Expand Up @@ -29,14 +27,15 @@ coverage:
coverage xml -i
coverage report -m

sonar:
/usr/local/bin/sonar-scanner/bin/sonar-scanner -Dsonar.projectVersion=$(VERSION)

clean:
find -name "*.py?" -delete
rm -f coverage.xml testresults.xml
rm -fr htmlcov dist build smart_check.egg-info

travis: compile compile_optimized test_default_python coverage

jenkins: travis sonar
install_deps:
pip install -r requirements.txt
pip install -r requirements_dev.txt

jenkins: install_deps travis

0 comments on commit aafab42

Please sign in to comment.