feat(ci): add travis ci (#85)
This commit is contained in:
Родитель
8b42fdd3eb
Коммит
fb764d3ea6
|
@ -0,0 +1,13 @@
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- "8"
|
||||||
|
sudo: required
|
||||||
|
dist: trusty
|
||||||
|
addons:
|
||||||
|
chrome: stable
|
||||||
|
before_script:
|
||||||
|
- "sudo chown root /opt/google/chrome/chrome-sandbox"
|
||||||
|
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
|
||||||
|
script:
|
||||||
|
- npm run build -s
|
||||||
|
- npm run test
|
|
@ -82,7 +82,7 @@ module.exports = function config(config) {
|
||||||
|
|
||||||
// start these browsers
|
// start these browsers
|
||||||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
|
||||||
browsers: ['Chrome'],
|
browsers: ['ChromeHeadless'],
|
||||||
|
|
||||||
browserDisconnectTimeout: 2000000,
|
browserDisconnectTimeout: 2000000,
|
||||||
browserNoActivityTimeout: 2400000,
|
browserNoActivityTimeout: 2400000,
|
||||||
|
|
Загрузка…
Ссылка в новой задаче