Skip to content

Commit ac1b0a2

Browse files
committed
Initial Bitbucket Pipelines configuration
1 parent ab66b9e commit ac1b0a2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

bitbucket-pipelines.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This is a sample build configuration for PHP.
2+
# Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples.
3+
# Only use spaces to indent your .yml configuration.
4+
# -----
5+
# You can specify a custom docker image from Docker Hub as your build environment.
6+
image: php:7.2.25
7+
8+
pipelines:
9+
default:
10+
- step:
11+
caches:
12+
- composer
13+
script:
14+
- apt-get update && apt-get install -y unzip
15+
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
16+
- composer install
17+
- vendor/bin/phpunit

0 commit comments

Comments
 (0)