ci mode for tests
This commit is contained in:
		@@ -13,16 +13,20 @@ test:
 | 
				
			|||||||
  stage: test
 | 
					  stage: test
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - npm install
 | 
					    - npm install
 | 
				
			||||||
    - npm run test
 | 
					    - CI=true npm run test
 | 
				
			||||||
 | 
					  artifacts:
 | 
				
			||||||
 | 
					    reports:
 | 
				
			||||||
 | 
					      junit:
 | 
				
			||||||
 | 
					        - ./junit.xml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
coverage:
 | 
					coverage:
 | 
				
			||||||
  stage: coverage
 | 
					  stage: coverage
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - npm run coverage
 | 
					    - CI=true npm run coverage
 | 
				
			||||||
  artifacts:
 | 
					  artifacts:
 | 
				
			||||||
    reports:
 | 
					    reports:
 | 
				
			||||||
      cobertura: coverage/cobertura-coverage.xml
 | 
					      cobertura:
 | 
				
			||||||
      junit: junit.xml
 | 
					        - ./coverage/cobertura-coverage.xml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
build:
 | 
					build:
 | 
				
			||||||
  stage: build
 | 
					  stage: build
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user