diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-05-16 11:55:07 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-16 11:55:07 +0700 |
commit | 99ebcdfee74df81b10e920c2b1eebf0f35f159c3 (patch) | |
tree | 638d1f4c1220ef90a6cdf6a1ec627eb1f3e670d6 /Makefile | |
parent | 97213f4c2e765202f32d99eec880fa69b252a01d (diff) | |
parent | deef3a85555f04abbcdf1a63c3a7d1dcc975a4de (diff) | |
download | vyos-1x-99ebcdfee74df81b10e920c2b1eebf0f35f159c3.tar.gz vyos-1x-99ebcdfee74df81b10e920c2b1eebf0f35f159c3.zip |
Merge pull request #10 from higebu/add-tests
T626 Add tests for vyos-update-crontab and initial setup for sonarcloud
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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} |