Skip to content

Commit 0f6e4cc

Browse files
committed
ci: Lower CI tests concurrency to 2 and fix headless Chrome on Travis
1 parent 9f4a6f6 commit 0f6e4cc

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
branches:
22
only:
33
- master
4-
sudo: false
4+
sudo: required
55
language: node_js
66
node_js:
77
- '8'
@@ -13,5 +13,8 @@ addons:
1313
chrome: stable
1414
firefox: latest
1515
sauce_connect: true
16+
before_script:
17+
- "sudo chown root /opt/google/chrome/chrome-sandbox"
18+
- "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
1619
script:
1720
- npm run test && if [ "$TRAVIS_SECURE_ENV_VARS" == "true" ]; then npm run test:ci; else exit 0; fi

karma.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ module.exports = {
6060

6161
// Concurrency level
6262
// how many browser should be started simultaneous
63-
concurrency: Infinity,
63+
concurrency: 2,
6464

6565
client: {
6666
mocha: {

0 commit comments

Comments
 (0)