Skip to content

Commit 29e4419

Browse files
authored
Fix travis testing (#140)
* Fix Travis * Fail faster
1 parent 17c0fe0 commit 29e4419

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
dist: trusty
22
language: php
33

4+
sudo: required
5+
46
# Downloaded browsers will be cached in selenium-assistant by
57
# web-push-testing-service. Caching will speed up build time.
68
cache:

tests/PushServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public function retryTest($retryCount, $test)
118118
*/
119119
public function testBrowsers($browserId, $browserVersion, $options)
120120
{
121-
$this->retryTest(4, $this->createClosureTest($browserId, $browserVersion, $options));
121+
$this->retryTest(2, $this->createClosureTest($browserId, $browserVersion, $options));
122122
}
123123

124124
protected function createClosureTest($browserId, $browserVersion, $options)

0 commit comments

Comments
 (0)