Add tests for Symfony 3.4, 5.1 and 5.2

This commit is contained in:
Kamil Kokot
2021-01-21 10:11:02 +01:00
parent 0ebc53a6cd
commit 2b77bf6cd1
2 changed files with 18 additions and 14 deletions

View File

@@ -13,11 +13,13 @@ php:
- 8.0
env:
- SYMFONY_VERSION=3.4.*
- SYMFONY_VERSION=4.4.*
- SYMFONY_VERSION=5.0.*
- SYMFONY_VERSION=5.1.*
- SYMFONY_VERSION=5.2.*
install:
- if [ "$SYMFONY_VERSION" = "5.0.*" ]; then composer require behat/behat:dev-master --no-update --no-scripts --prefer-dist; fi
- composer require symfony/config:${SYMFONY_VERSION} --no-update --no-scripts --prefer-dist
- composer update --no-progress

View File

@@ -2,7 +2,12 @@
"name": "friends-of-behat/mink-extension",
"type": "behat-extension",
"description": "Mink extension for Behat",
"keywords": ["web", "test", "browser", "gui"],
"keywords": [
"web",
"test",
"browser",
"gui"
],
"homepage": "http://extensions.behat.org/mink",
"license": "MIT",
"authors": [
@@ -15,30 +20,27 @@
"email": "stof@notk.org"
}
],
"require": {
"php": ">=7.2",
"behat/behat": "^3.0.5",
"behat/mink": "^1.5",
"symfony/config": "^3.4|^4.4|^5.0"
"symfony/config": "^3.4 || ^4.4 || ^5.0"
},
"require-dev": {
"behat/mink-goutte-driver": "^1.1",
"phpspec/phpspec": "^6.0"
},
"replace": {
"behat/mink-extension": "self.version"
},
"autoload": {
"psr-0": { "Behat\\MinkExtension": "src/" }
"require-dev": {
"behat/mink-goutte-driver": "^1.1",
"phpspec/phpspec": "^6.0 || ^7.0"
},
"extra": {
"branch-alias": {
"dev-master": "2.1.x-dev"
}
},
"autoload": {
"psr-0": {
"Behat\\MinkExtension": "src/"
}
}
}