mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-06 10:23:39 +02:00
Add circleci config
This commit is contained in:
parent
53748941c0
commit
f0324a236d
3 changed files with 30 additions and 5 deletions
|
|
@ -18,15 +18,15 @@ module.exports = function (config) {
|
|||
},
|
||||
// configure travis-ci; based on this: https://stackoverflow.com/questions/19255976/how-to-make-travis-execute-angular-tests-on-chrome-please-set-env-variable-chr#25661593
|
||||
customLaunchers: {
|
||||
ChromeHeadlessTravisCI: {
|
||||
ChromeHeadlessCI: {
|
||||
base: 'ChromeHeadless',
|
||||
flags: ['--no-sandbox']
|
||||
flags: ['--no-sandbox', '--headless', '--nogpu']
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (process.env.TRAVIS) {
|
||||
configuration.browsers = ['ChromeHeadlessTravisCI']
|
||||
if (process.env.TRAVIS || process.env.CI) {
|
||||
configuration.browsers = ['ChromeHeadlessCI']
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue