-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbitbucket-pipelines.yml
More file actions
36 lines (36 loc) · 1.42 KB
/
bitbucket-pipelines.yml
File metadata and controls
36 lines (36 loc) · 1.42 KB
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
pipelines:
default:
- parallel:
- step:
name: PHP 7.4
image: php:7.4
script:
- apt-get update && apt-get install -qy git curl libzip-dev zip
- docker-php-ext-install zip
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install --ignore-platform-reqs
- ./vendor/bin/phpunit tests
caches:
- composer
- step:
name: PHP 8.0
image: php:8.0
script:
- apt-get update && apt-get install -qy git curl libzip-dev zip
- docker-php-ext-install zip
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install --ignore-platform-reqs
- ./vendor/bin/phpunit tests
caches:
- composer
- step:
name: PHP 8.1
image: php:8.1
script:
- apt-get update && apt-get install -qy git curl libzip-dev zip
- docker-php-ext-install zip
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- composer install --ignore-platform-reqs
- ./vendor/bin/phpunit tests
caches:
- composer