forked from yohang/CalendR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (28 loc) · 2.01 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
test:
./vendor/bin/phpunit tests --colors --coverage-text --whitelist=src --coverage-clover=build/coverage/clover.xml
docker_build:
docker build --build-arg PHP_VERSION=7.4 -t calendr:7.4 .
docker build --build-arg PHP_VERSION=7.4 --build-arg COMPOSER_FLAGS="--prefer-lowest" -t calendr:7.4-lowdeps .
docker build --build-arg PHP_VERSION=8.0 -t calendr:8.0 .
docker build --build-arg PHP_VERSION=8.0 --build-arg COMPOSER_FLAGS="--prefer-lowest" -t calendr:8.0-lowdeps .
docker build --build-arg PHP_VERSION=8.0 -t calendr:8.1 .
docker build --build-arg PHP_VERSION=8.0 --build-arg COMPOSER_FLAGS="--prefer-lowest" -t calendr:8.1-lowdeps .
docker build --build-arg PHP_VERSION=8.0 -t calendr:8.2 .
docker build --build-arg PHP_VERSION=8.0 --build-arg COMPOSER_FLAGS="--prefer-lowest" -t calendr:8.2-lowdeps .
docker build --build-arg PHP_VERSION=8.0 -t calendr:8.3 .
docker build --build-arg PHP_VERSION=8.0 --build-arg COMPOSER_FLAGS="--prefer-lowest" -t calendr:8.3-lowdeps .
docker build --build-arg PHP_VERSION=8.0 -t calendr:8.4 .
docker build --build-arg PHP_VERSION=8.0 --build-arg COMPOSER_FLAGS="--prefer-lowest" -t calendr:8.4-lowdeps .
docker_test: docker_build
docker run -it --rm calendr:7.4 ./vendor/bin/phpunit tests --colors
docker run -it --rm calendr:7.4-lowdeps ./vendor/bin/phpunit tests --colors
docker run -it --rm calendr:8.0 ./vendor/bin/phpunit tests --colors
docker run -it --rm calendr:8.0-lowdeps ./vendor/bin/phpunit tests --colors
docker run -it --rm calendr:8.1 ./vendor/bin/phpunit tests --colors
docker run -it --rm calendr:8.1-lowdeps ./vendor/bin/phpunit tests --colors
docker run -it --rm calendr:8.2 ./vendor/bin/phpunit tests --colors
docker run -it --rm calendr:8.2-lowdeps ./vendor/bin/phpunit tests --colors
docker run -it --rm calendr:8.3 ./vendor/bin/phpunit tests --colors
docker run -it --rm calendr:8.3-lowdeps ./vendor/bin/phpunit tests --colors
docker run -it --rm calendr:8.4 ./vendor/bin/phpunit tests --colors
docker run -it --rm calendr:8.4-lowdeps ./vendor/bin/phpunit tests --colors