forked from yiisoft/yii2-queue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
66 lines (60 loc) · 1.7 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
54
55
56
57
58
59
60
61
62
63
64
65
66
COMPOSE_PROJECT_NAME=yii2-queue
COMPOSE_FILE=tests/docker-compose.yml
build:
@cp -n .env.example .env
docker-compose pull
docker-compose build --pull
test: test73 test72 test71 test70 test56
test73:
docker-compose build --pull php73
docker-compose run php73 vendor/bin/phpunit
docker-compose down
test72:
docker-compose build --pull php72
docker-compose run php72 vendor/bin/phpunit
docker-compose down
test71:
docker-compose build --pull php71
docker-compose run php71 vendor/bin/phpunit
docker-compose down
test70:
docker-compose build --pull php70
docker-compose run php70 vendor/bin/phpunit
docker-compose down
test56:
docker-compose build --pull php56
docker-compose run php56 vendor/bin/phpunit
docker-compose down
benchmark: benchmark73 benchmark72 benchmark71 benchmark70 benchmark56
benchmark73:
docker-compose build --pull php73
docker-compose run php73 tests/yii benchmark/waiting
docker-compose down
benchmark72:
docker-compose build --pull php72
docker-compose run php72 tests/yii benchmark/waiting
docker-compose down
benchmark71:
docker-compose build --pull php71
docker-compose run php71 tests/yii benchmark/waiting
docker-compose down
benchmark70:
docker-compose build --pull php70
docker-compose run php70 tests/yii benchmark/waiting
docker-compose down
benchmark56:
docker-compose build --pull 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*