summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorYuya Kusakabe <yuya.kusakabe@gmail.com>2018-05-15 22:49:55 +0900
committerYuya Kusakabe <yuya.kusakabe@gmail.com>2018-05-16 10:52:19 +0900
commitdeef3a85555f04abbcdf1a63c3a7d1dcc975a4de (patch)
tree887035b54530f0a85ed54d683cfe452b0b89f8f2 /Makefile
parent64caf155434202abfda5909f07f5446124d5e970 (diff)
downloadvyos-1x-deef3a85555f04abbcdf1a63c3a7d1dcc975a4de.tar.gz
vyos-1x-deef3a85555f04abbcdf1a63c3a7d1dcc975a4de.zip
T626 Add tests for vyos-update-crontab and initial setup for sonarcloud
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8a75a91e4..a46f4313a 100644
--- a/Makefile
+++ b/Makefile
@@ -35,3 +35,11 @@ all: interface_definitions op_mode_definitions
clean:
rm -rf $(TMPL_DIR)/*
rm -rf $(OP_TMPL_DIR)/*
+
+.PHONY: test
+test:
+ nosetests --with-xunit src --with-coverage --cover-erase --cover-xml --cover-package src/conf-mode,src/op-mode --verbose
+
+.PHONY: sonar
+sonar:
+ sonar-scanner -X -Dsonar.login=${SONAR_TOKEN}