Skip to content

Commit 24ddca0

Browse files
committed
infra: disable PHP 5.x in Travis
1 parent 8630dc1 commit 24ddca0

File tree

2 files changed

+12
-17
lines changed

2 files changed

+12
-17
lines changed

.travis.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@ language: php
33
sudo: false
44

55
php:
6-
- 5.4
7-
- 5.5
8-
- 5.6
9-
- hhvm
10-
- 7.0
116
- 7.1
127
- 7.2
138

@@ -17,28 +12,24 @@ service:
1712
matrix:
1813
fast_finish: true
1914
include:
20-
- php: 5.6
21-
env: SYMFONY_VERSION=2.8.*
22-
- php: 5.6
23-
env: SYMFONY_VERSION=3.0.* COVERAGE=true
15+
- php: 7.1
16+
env: SYMFONY_VERSION=3.0.*
17+
- php: 7.2
18+
env: SYMFONY_VERSION=4.0.* COVERAGE=true
2419
# test the latest release (including beta releases)
2520
- php: 7.2
2621
env: DEPENDENCIES=beta
27-
allow_failures:
28-
- php: hhvm
29-
- php: 7.0
3022

3123
cache:
3224
directories:
3325
- $HOME/.composer/cache/files
3426

3527
before_script:
36-
- if [ "$DEPENDENCIES" = "beta" ]; then composer config minimum-stability beta; fi;
37-
- if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv config-rm xdebug.ini; echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi;
38-
- if [[ ${TRAVIS_PHP_VERSION:0:2} == "5." ]]; then yes '' | pecl -q install -f mongo-stable; fi
39-
- if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then pecl install -f mongodb-stable; fi
40-
- if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." ]]; then composer config "platform.ext-mongo" "1.6.16" && composer require alcaeus/mongo-php-adapter; fi
28+
- phpenv config-rm xdebug.ini; echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini;
29+
- pecl install -f mongodb-stable;
4130
- composer self-update
31+
- composer config "platform.ext-mongo" "1.6.16" && composer require alcaeus/mongo-php-adapter;
32+
- if [ "$DEPENDENCIES" = "beta" ]; then composer config minimum-stability beta; fi;
4233
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
4334
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
4435

phpstan.neon

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ parameters:
33
- vendor/autoload.php
44
excludes_analyse:
55
- vendor/
6+
7+
# Propel stuff seems broken as-is, ignoring for now
8+
- Propel/
9+
- Tests/Propel/

0 commit comments

Comments
 (0)