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

Commit 5f7a311

Browse files
committed
Use PHP 7.3 as the main PHP version for travis builds
1 parent 1780264 commit 5f7a311

File tree

1 file changed

+28
-27
lines changed

1 file changed

+28
-27
lines changed

.travis.yml

Lines changed: 28 additions & 27 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,43 @@ 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-
3549
# Chrome on Travis build with lowest possible dependencies
36-
- php: 7.2
50+
- php: '7.3'
3751
env: BROWSER_NAME="chrome" CHROME_HEADLESS="1" DEPENDENCIES="--prefer-lowest"
3852
addons:
3953
chrome: stable
4054

4155
# Saucelabs builds
42-
- php: 7.2
56+
- php: '7.3'
4357
env: SAUCELABS=1 BROWSER_NAME="firefox" VERSION="47.0" PLATFORM="Windows 10"
4458
before_script:
4559
- php -S 127.0.0.1:8000 -t tests/functional/web/ &>>./logs/php-server.log &
@@ -48,7 +62,7 @@ matrix:
4862
sauce_connect: true
4963
jwt:
5064
secure: HPq5xFhosa1eSGnaRdJzeyEuaE0mhRlG1gf3G7+dKS0VniF30husSyrxZhbGCCKBGxmIySoAQzd43BCwL69EkUEVKDN87Cpid1Ce9KrSfU3cnN8XIb+4QINyy7x1a47RUAfaaOEx53TrW0ShalvjD+ZwDE8LrgagSox6KQ+nQLE=
51-
- php: 7.2
65+
- php: '7.3'
5266
env: SAUCELABS=1 BROWSER_NAME="chrome" VERSION="74.0" PLATFORM="Windows 10"
5367
before_script:
5468
- php -S 127.0.0.1:8000 -t tests/functional/web/ &>>./logs/php-server.log &
@@ -57,7 +71,7 @@ matrix:
5771
sauce_connect: true
5872
jwt:
5973
secure: HPq5xFhosa1eSGnaRdJzeyEuaE0mhRlG1gf3G7+dKS0VniF30husSyrxZhbGCCKBGxmIySoAQzd43BCwL69EkUEVKDN87Cpid1Ce9KrSfU3cnN8XIb+4QINyy7x1a47RUAfaaOEx53TrW0ShalvjD+ZwDE8LrgagSox6KQ+nQLE=
60-
- php: 7.2
74+
- php: '7.3'
6175
env: SAUCELABS=1 BROWSER_NAME="MicrosoftEdge" VERSION="16.16299" PLATFORM="Windows 10"
6276
before_script:
6377
- php -S 127.0.0.1:8000 -t tests/functional/web/ &>>./logs/php-server.log &
@@ -67,19 +81,6 @@ matrix:
6781
jwt:
6882
secure: HPq5xFhosa1eSGnaRdJzeyEuaE0mhRlG1gf3G7+dKS0VniF30husSyrxZhbGCCKBGxmIySoAQzd43BCwL69EkUEVKDN87Cpid1Ce9KrSfU3cnN8XIb+4QINyy7x1a47RUAfaaOEx53TrW0ShalvjD+ZwDE8LrgagSox6KQ+nQLE=
6983

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-
8384
cache:
8485
directories:
8586
- $HOME/.composer/cache

0 commit comments

Comments
 (0)