Skip to content

Commit

Permalink
We can still enable PHP 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kukulich committed Nov 29, 2019
1 parent efd17f3 commit b26cb5c
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
37 changes: 37 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ before_script:

jobs:
include:
- stage: Lint
php: 7.1
env: DEPENDENCIES=highest
script: bin/phing lint

- stage: Lint
php: 7.2
env: DEPENDENCIES=highest
Expand All @@ -26,6 +31,38 @@ jobs:
env: DEPENDENCIES=highest
script: bin/phing lint

- stage: Tests
php: 7.1
env: DEPENDENCIES=lowest
script: bin/phing tests-without-code-coverage

- stage: Tests
php: 7.1
env: DEPENDENCIES=highest
script: bin/phing tests-without-code-coverage

- stage: Tests
os: windows
dist: 1803-containers
language: sh # No PHP currently
env: PHP_VERSION=7.1.33 DEPENDENCIES=lowest
install:
- choco install php --version=${PHP_VERSION} --package-parameters="/InstallDir:c:\tools\php"
- choco install composer --ia "/DEV=C:\tools\php"
- export PATH=/c/tools/php:$PATH
script: bin/phing tests-without-code-coverage

- stage: Tests
os: windows
dist: 1803-containers
language: sh # No PHP currently
env: PHP_VERSION=7.1.33 DEPENDENCIES=highest
install:
- choco install php --version=${PHP_VERSION} --package-parameters="/InstallDir:c:\tools\php"
- choco install composer --ia "/DEV=C:\tools\php"
- export PATH=/c/tools/php:$PATH
script: bin/phing tests-without-code-coverage

- stage: Tests
php: 7.2
env: DEPENDENCIES=lowest
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"bin-dir": "bin"
},
"require": {
"php": "^7.2",
"php": "^7.1",
"phpstan/phpdoc-parser": "0.3.5 - 0.4.0",
"squizlabs/php_codesniffer": "dev-master"
},
Expand All @@ -19,7 +19,7 @@
"phpstan/phpstan": "0.11.19|^0.12",
"phpstan/phpstan-phpunit": "0.11.2|^0.12",
"phpstan/phpstan-strict-rules": "0.11.1|^0.12",
"phpunit/phpunit": "8.4.3",
"phpunit/phpunit": "7.5.17|8.4.3",
"dealerdirect/phpcodesniffer-composer-installer": "0.5.0"
},
"autoload": {
Expand Down

0 comments on commit b26cb5c

Please sign in to comment.