James Allen 8 лет назад
Родитель
Сommit
b0812864ac
2 измененных файлов с 4 добавлено и 2 удалено
  1. 1 1
      services/web/Jenkinsfile
  2. 3 1
      services/web/Makefile

+ 1 - 1
services/web/Jenkinsfile

@@ -60,7 +60,7 @@ pipeline {
         sh 'git config --global core.logallrefupdates false'
         sh 'mv app/views/external/robots.txt public/robots.txt'
         sh 'mv app/views/external/googlebdb0f8f7f4a17241.html public/googlebdb0f8f7f4a17241.html'
-        sh 'npm install'
+        sh 'npm --quiet install'
         sh 'npm rebuild'
         // It's too easy to end up shrinkwrapping to an outdated version of translations.
         // Ensure translations are always latest, regardless of shrinkwrap

+ 3 - 1
services/web/Makefile

@@ -74,7 +74,9 @@ test_acceptance_modules: docker-shared.yml
 test_acceptance_module: docker-shared.yml
 	cd $(MODULE) && make test_acceptance
 
-ci: install test
+ci:
+	MOCHA_ARGS="--reporter tap" \
+	$(MAKE) install test
 
 .PHONY:
 	all add install update test test_unit test_unit_frontend test_acceptance \