From 9df0ffe751cc4f4cbf3a657438665d51eeeceeae Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Mon, 20 Jun 2016 02:22:46 +0100 Subject: [PATCH] fix(e2e): prevent chrome race condition (#1141) This should help with flakyness on chrome tests, especially e2e. For more information see: - https://github.com/angular/protractor/issues/2419#issuecomment-156527809 - https://github.com/angular/protractor/issues/2419#issuecomment-213112857 --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8a9876e669c6..72305cb70144 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,11 @@ dist: trusty sudo: required env: - - NODE_VERSION=5 SCRIPT=lint - - NODE_VERSION=5 SCRIPT=test + global: + - DBUS_SESSION_BUS_ADDRESS=/dev/null + matrix: + - NODE_VERSION=5 SCRIPT=lint + - NODE_VERSION=5 SCRIPT=test os: - linux - osx