Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Commit fc1eb76

Browse files
authored
Merge pull request #639 from OndraM/feature/php-73
Travis builds on PHP 7.3
2 parents 1780264 + 9be6cbb commit fc1eb76

File tree

4 files changed

+36
-32
lines changed

4 files changed

+36
-32
lines changed

.travis.yml

Lines changed: 27 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ sudo: false
33
dist: trusty
44

55
php:
6-
- 5.6
7-
- 7.0
8-
- 7.1
9-
- 7.2
6+
- '5.6'
7+
- '7.0'
8+
- '7.1'
9+
- '7.2'
10+
- '7.3'
1011

1112
env:
1213
global:
@@ -16,30 +17,37 @@ env:
1617

1718
matrix:
1819
include:
20+
# Codestyle check build
21+
- php: '7.3'
22+
env: CHECK_CODESTYLE=1
23+
before_install:
24+
- phpenv config-rm xdebug.ini
25+
before_script: ~
26+
script:
27+
- composer require phpstan/phpstan-shim # Not part of require-dev, because it won't install on PHP 5.6
28+
- composer analyze
29+
- composer codestyle:check
30+
after_script: ~
31+
after_success: ~
32+
33+
# Build with lowest possible dependencies on lowest possible PHP
34+
- php: '5.6'
35+
env: DEPENDENCIES="--prefer-lowest"
36+
1937
# Add build to run tests against Firefox inside Travis environment
20-
- php: 7.2
38+
- php: '7.3'
2139
env: BROWSER_NAME="firefox"
2240
addons:
2341
firefox: "45.8.0esr"
2442

2543
# Add build to run tests against Chrome inside Travis environment
26-
- php: 7.2
44+
- php: '7.3'
2745
env: BROWSER_NAME="chrome" CHROME_HEADLESS="1"
2846
addons:
2947
chrome: stable
3048

31-
# Build with lowest possible dependencies
32-
- php: 7.2
33-
env: DEPENDENCIES="--prefer-lowest"
34-
35-
# Chrome on Travis build with lowest possible dependencies
36-
- php: 7.2
37-
env: BROWSER_NAME="chrome" CHROME_HEADLESS="1" DEPENDENCIES="--prefer-lowest"
38-
addons:
39-
chrome: stable
40-
4149
# Saucelabs builds
42-
- php: 7.2
50+
- php: '7.3'
4351
env: SAUCELABS=1 BROWSER_NAME="firefox" VERSION="47.0" PLATFORM="Windows 10"
4452
before_script:
4553
- php -S 127.0.0.1:8000 -t tests/functional/web/ &>>./logs/php-server.log &
@@ -48,7 +56,7 @@ matrix:
4856
sauce_connect: true
4957
jwt:
5058
secure: HPq5xFhosa1eSGnaRdJzeyEuaE0mhRlG1gf3G7+dKS0VniF30husSyrxZhbGCCKBGxmIySoAQzd43BCwL69EkUEVKDN87Cpid1Ce9KrSfU3cnN8XIb+4QINyy7x1a47RUAfaaOEx53TrW0ShalvjD+ZwDE8LrgagSox6KQ+nQLE=
51-
- php: 7.2
59+
- php: '7.3'
5260
env: SAUCELABS=1 BROWSER_NAME="chrome" VERSION="74.0" PLATFORM="Windows 10"
5361
before_script:
5462
- php -S 127.0.0.1:8000 -t tests/functional/web/ &>>./logs/php-server.log &
@@ -57,7 +65,7 @@ matrix:
5765
sauce_connect: true
5866
jwt:
5967
secure: HPq5xFhosa1eSGnaRdJzeyEuaE0mhRlG1gf3G7+dKS0VniF30husSyrxZhbGCCKBGxmIySoAQzd43BCwL69EkUEVKDN87Cpid1Ce9KrSfU3cnN8XIb+4QINyy7x1a47RUAfaaOEx53TrW0ShalvjD+ZwDE8LrgagSox6KQ+nQLE=
60-
- php: 7.2
68+
- php: '7.3'
6169
env: SAUCELABS=1 BROWSER_NAME="MicrosoftEdge" VERSION="16.16299" PLATFORM="Windows 10"
6270
before_script:
6371
- php -S 127.0.0.1:8000 -t tests/functional/web/ &>>./logs/php-server.log &
@@ -67,19 +75,6 @@ matrix:
6775
jwt:
6876
secure: HPq5xFhosa1eSGnaRdJzeyEuaE0mhRlG1gf3G7+dKS0VniF30husSyrxZhbGCCKBGxmIySoAQzd43BCwL69EkUEVKDN87Cpid1Ce9KrSfU3cnN8XIb+4QINyy7x1a47RUAfaaOEx53TrW0ShalvjD+ZwDE8LrgagSox6KQ+nQLE=
6977

70-
# Codestyle check build
71-
- php: 7.2
72-
env: CHECK_CODESTYLE=1
73-
before_install:
74-
- phpenv config-rm xdebug.ini
75-
before_script: ~
76-
script:
77-
- composer require phpstan/phpstan-shim # Not part of require-dev, because it won't install on PHP 5.6
78-
- composer analyze
79-
- composer codestyle:check
80-
after_script: ~
81-
after_success: ~
82-
8378
cache:
8479
directories:
8580
- $HOME/.composer/cache

tests/functional/WebDriverCheckboxesTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717

1818
use Facebook\WebDriver\Exception\NoSuchElementException;
1919

20+
/**
21+
* @covers \Facebook\WebDriver\WebDriverCheckboxes
22+
* @covers \Facebook\WebDriver\AbstractWebDriverCheckboxOrRadio
23+
*/
2024
class WebDriverCheckboxesTest extends WebDriverTestCase
2125
{
2226
protected function setUp()

tests/functional/WebDriverRadiosTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
use Facebook\WebDriver\Exception\NoSuchElementException;
1919
use Facebook\WebDriver\Exception\UnsupportedOperationException;
2020

21+
/**
22+
* @covers \Facebook\WebDriver\WebDriverRadios
23+
* @covers \Facebook\WebDriver\AbstractWebDriverCheckboxOrRadio
24+
*/
2125
class WebDriverRadiosTest extends WebDriverTestCase
2226
{
2327
protected function setUp()

tests/functional/WebDriverSelectTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
use Facebook\WebDriver\Exception\UnsupportedOperationException;
2121

2222
/**
23+
* @group exclude-saucelabs
2324
* @covers \Facebook\WebDriver\WebDriverSelect
2425
* @covers \Facebook\WebDriver\Exception\UnexpectedTagNameException
2526
*/

0 commit comments

Comments
 (0)