Enable CI on drone #6

Merged
manuel merged 21 commits from feature/dronetest into develop 2018-09-04 00:13:28 +02:00
3 changed files with 8 additions and 1 deletions
Showing only changes of commit a8ddf4ce38 - Show all commits

View File

@ -5,5 +5,5 @@ pipeline:
- 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
- npm install
- npm run test
- npm run test-no-sandbox
- npm run build-prod

View File

@ -25,6 +25,7 @@
"build": "ng build --delete-output-path",
"build-prod": "ng build --prod --optimization --aot --delete-output-path --build-optimizer",
"test": "ng test",
"test-no-sandbox": "ng test --browsers ChromeHeadlessNoSandbox",
"lint": "ng lint",
"e2e": "ng e2e",
"postinstall": "npm rebuild node-sass"

View File

@ -29,6 +29,12 @@ module.exports = function (config) {
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['ChromeHeadless'],
customLaunchers: {
ChromeHeadlessNoSandbox: {
base: 'ChromeHeadless',
flags: ['--no-sandbox']
}
},
singleRun: false
});
};