-
Notifications
You must be signed in to change notification settings - Fork 24
/
composer.json
43 lines (43 loc) · 1.86 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "uma/redis-session-handler",
"description": "An alternative Redis session handler",
"type": "library",
"license": "MIT",
"require": {
"php": ">=5.6",
"ext-redis": "*",
"symfony/polyfill-php70": "^1.19"
},
"autoload": {
"psr-4": {
"UMA\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"UMA\\RedisSessions\\Tests\\E2E\\": "tests/e2e",
"UMA\\RedisSessions\\Tests\\Unit\\": "tests/unit"
}
},
"require-dev": {
"guzzlehttp/guzzle": "^6.5",
"phpunit/phpunit": "^7.0",
"symfony/polyfill-php72": "^1.22"
},
"scripts": {
"env-up": [
"@composer install --ignore-platform-reqs",
"docker-compose -f tests/docker-compose.yml pull",
"docker-compose -f tests/docker-compose.yml up -d"
],
"env-down": "docker-compose -f tests/docker-compose.yml down -v",
"test": [
"docker-compose -f tests/docker-compose.yml exec -T -u $(id -u):$(id -g) runner sh -c \"TARGET=php71 php vendor/bin/phpunit --testdox\"",
"docker-compose -f tests/docker-compose.yml exec -T -u $(id -u):$(id -g) runner sh -c \"TARGET=php72 php vendor/bin/phpunit --testdox\"",
"docker-compose -f tests/docker-compose.yml exec -T -u $(id -u):$(id -g) runner sh -c \"TARGET=php73 php vendor/bin/phpunit --testdox\"",
"docker-compose -f tests/docker-compose.yml exec -T -u $(id -u):$(id -g) runner sh -c \"TARGET=php74 php vendor/bin/phpunit --testdox\"",
"docker-compose -f tests/docker-compose.yml exec -T -u $(id -u):$(id -g) runner sh -c \"TARGET=php80 php vendor/bin/phpunit --testdox\"",
"docker-compose -f tests/docker-compose.yml exec -T -u $(id -u):$(id -g) runner sh -c \"TARGET=php81 php vendor/bin/phpunit --testdox\""
]
}
}