mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-12 17:04:46 +00:00
travis setup
This commit is contained in:
parent
9c382ff0ac
commit
b11a926a93
19
.travis.yml
Normal file
19
.travis.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
dist: trusty
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "8"
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- ./node_modules
|
||||||
|
|
||||||
|
install:
|
||||||
|
- npm install
|
||||||
|
|
||||||
|
script:
|
||||||
|
# Use Chromium instead of Chrome.
|
||||||
|
- export CHROME_BIN=chromium-browser
|
||||||
|
- xvfb-run -a npm run test -- --single-run --no-progress --browser=ChromeNoSandbox
|
||||||
|
#- xvfb-run -a npm run e2e -- --no-progress --config=protractor-ci.conf.js
|
@ -28,6 +28,17 @@ module.exports = function (config) {
|
|||||||
logLevel: config.LOG_INFO,
|
logLevel: config.LOG_INFO,
|
||||||
autoWatch: true,
|
autoWatch: true,
|
||||||
browsers: ['Chrome'],
|
browsers: ['Chrome'],
|
||||||
singleRun: false
|
customLaunchers: {
|
||||||
|
ChromeNoSandbox: {
|
||||||
|
base: 'Chrome',
|
||||||
|
flags: ['--no-sandbox']
|
||||||
|
}
|
||||||
|
},
|
||||||
|
singleRun: false,
|
||||||
|
|
||||||
|
captureTimeout: 180000,
|
||||||
|
browserDisconnectTimeout: 180000,
|
||||||
|
browserDisconnectTolerance: 3,
|
||||||
|
browserNoActivityTimeout: 300000
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user