Browse Source

Updated Makefile

tags/0.4.2
Johann Schmitz 2 years ago
parent
commit
aafab42cbe
1 changed files with 5 additions and 6 deletions
  1. 5
    6
      Makefile

+ 5
- 6
Makefile View File

@@ -1,7 +1,5 @@
1 1
 TARGET?=tests
2 2
 
3
-VERSION := $(shell grep -Po '"(.*)"' smartcheck/__init__.py | sed -e 's/"//g')
4
-
5 3
 test_default_python:
6 4
 	PYTHONPATH="." python tests/ -v
7 5
 
@@ -29,9 +27,6 @@ coverage:
29 27
 	coverage xml -i
30 28
 	coverage report -m
31 29
 
32
-sonar:
33
-	/usr/local/bin/sonar-scanner/bin/sonar-scanner -Dsonar.projectVersion=$(VERSION)
34
-
35 30
 clean:
36 31
 	find -name "*.py?" -delete
37 32
 	rm -f coverage.xml testresults.xml
@@ -39,4 +34,8 @@ clean:
39 34
 
40 35
 travis: compile compile_optimized test_default_python coverage
41 36
 
42
-jenkins: travis sonar
37
+install_deps:
38
+	pip install -r requirements.txt
39
+	pip install -r requirements_dev.txt
40
+
41
+jenkins: install_deps travis

Loading…
Cancel
Save