Skip to content

Commit

Permalink
✨ Allow PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
B-Galati committed Sep 4, 2020
1 parent 323c11e commit 30cfe70
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
language: php
os: linux
dist: bionic
sudo: false

env:
global:
- COMPOSER_INSTALL_FLAGS="--no-interaction --no-progress --prefer-dist"
- COMPOSER_UPDATE_FLAGS="--no-interaction --no-progress --prefer-dist"

matrix:
jobs:
fast_finish: true
include:
- php: 7.1
Expand All @@ -17,7 +17,12 @@ matrix:
- php: 7.4
env: CS=1
- php: nightly
env: STABILITY="dev"
env: STABILITY=dev SYMFONY_DEPRECATIONS_HELPER=weak
install:
- composer config platform.php 7.4.99
- make vendor
script:
- make phpunit

allow_failures:
- php: nightly
Expand All @@ -30,6 +35,8 @@ before_install:
- phpenv config-rm xdebug.ini || true
- if ! [ -z "${STABILITY}" ]; then composer config minimum-stability ${STABILITY}; fi;
- composer global require --no-progress --no-scripts --no-plugins symfony/flex dev-master

install:
- make vendor

script:
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
}
},
"require": {
"php": "^7.1.3",
"php": "^7.1.3 || ^8.0",
"monolog/monolog": "^1.6 || ^2.0",
"sentry/sentry": "^2.3.2"
},
Expand Down

0 comments on commit 30cfe70

Please sign in to comment.