travis setup

This commit is contained in:
Denys Vuika 2017-10-18 18:00:00 +01:00
parent 9c382ff0ac
commit b11a926a93
2 changed files with 31 additions and 1 deletions

19
.travis.yml Normal file
View 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

View File

@ -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
}); });
}; };