Enable CI on drone #6
					 3 changed files with 8 additions and 1 deletions
				
			
		|  | @ -5,5 +5,5 @@ pipeline: | ||||||
|       - apt-get update |       - apt-get update | ||||||
|       - apt-get install -yq libx11-xcb1 libxcomposite1 libxcursor1 libxdamage1 libcups2 libxss1 libxrandr2 libpangocairo-1.0-0 libatk1.0-0 libatk-bridge2.0-0 libgtk-3-0 libnss3 libasound2 |       - apt-get install -yq libx11-xcb1 libxcomposite1 libxcursor1 libxdamage1 libcups2 libxss1 libxrandr2 libpangocairo-1.0-0 libatk1.0-0 libatk-bridge2.0-0 libgtk-3-0 libnss3 libasound2 | ||||||
|       - npm install |       - npm install | ||||||
|       - npm run test |       - npm run test-no-sandbox | ||||||
|       - npm run build-prod |       - npm run build-prod | ||||||
|  |  | ||||||
|  | @ -25,6 +25,7 @@ | ||||||
|     "build": "ng build --delete-output-path", |     "build": "ng build --delete-output-path", | ||||||
|     "build-prod": "ng build --prod --optimization --aot --delete-output-path --build-optimizer", |     "build-prod": "ng build --prod --optimization --aot --delete-output-path --build-optimizer", | ||||||
|     "test": "ng test", |     "test": "ng test", | ||||||
|  |     "test-no-sandbox": "ng test --browsers ChromeHeadlessNoSandbox", | ||||||
|     "lint": "ng lint", |     "lint": "ng lint", | ||||||
|     "e2e": "ng e2e", |     "e2e": "ng e2e", | ||||||
|     "postinstall": "npm rebuild node-sass" |     "postinstall": "npm rebuild node-sass" | ||||||
|  |  | ||||||
|  | @ -29,6 +29,12 @@ module.exports = function (config) { | ||||||
|     logLevel: config.LOG_INFO, |     logLevel: config.LOG_INFO, | ||||||
|     autoWatch: true, |     autoWatch: true, | ||||||
|     browsers: ['ChromeHeadless'], |     browsers: ['ChromeHeadless'], | ||||||
|  |     customLaunchers: { | ||||||
|  |       ChromeHeadlessNoSandbox: { | ||||||
|  |         base: 'ChromeHeadless', | ||||||
|  |         flags: ['--no-sandbox'] | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|     singleRun: false |     singleRun: false | ||||||
|   }); |   }); | ||||||
| }; | }; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue