forked from yiisoft/queue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
53 lines (48 loc) · 1.31 KB
/
Makefile
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
44
45
46
47
48
49
50
51
52
53
COMPOSE_PROJECT_NAME=yii2-queue
COMPOSE_FILE=tests/docker-compose.yml
test: test72 test71 test70 test56
test72:
docker-compose build php72
docker-compose run php72 vendor/bin/phpunit
docker-compose down
test71:
docker-compose build php71
docker-compose run php71 vendor/bin/phpunit
docker-compose down
test70:
docker-compose build php70
docker-compose run php70 vendor/bin/phpunit
docker-compose down
test56:
docker-compose build php56
docker-compose run php56 vendor/bin/phpunit
docker-compose down
benchmark: benchmark72 benchmark71 benchmark70 benchmark56
benchmark72:
docker-compose build php72
docker-compose run php72 tests/yii benchmark/waiting
docker-compose down
benchmark71:
docker-compose build php71
docker-compose run php71 tests/yii benchmark/waiting
docker-compose down
benchmark70:
docker-compose build php70
docker-compose run php70 tests/yii benchmark/waiting
docker-compose down
benchmark56:
docker-compose build php56
docker-compose run php56 tests/yii benchmark/waiting
docker-compose down
check-cs:
docker-compose build php72
docker-compose run php72 php-cs-fixer fix --diff --dry-run
docker-compose down
clean:
docker-compose down
sudo rm -rf tests/runtime/*
sudo rm -f .php_cs.cache
sudo rm -rf composer.lock
sudo rm -rf vendor/
clean-all: clean
sudo rm -rf tests/runtime/.composer*