Skip to content

Commit

Permalink
Update test for bitbucket pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed May 24, 2024
1 parent 8a4ef27 commit 6052d62
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 44 deletions.
31 changes: 9 additions & 22 deletions features/scaffold-plugin-tests.feature
Original file line number Diff line number Diff line change
Expand Up @@ -172,42 +172,29 @@ Feature: Scaffold plugin unit tests
And the {PLUGIN_DIR}/bitbucket-pipelines.yml file should contain:
"""
- step:
image: php:5.6
name: "PHP 5.6"
image: php:7.4
name: "PHP 7.4"
script:
# Install Dependencies
- docker-php-ext-install mysqli
- apt-get update && apt-get install -y subversion --no-install-recommends
- apt-get update && apt-get install -y subversion git zip libzip-dev --no-install-recommends
"""
And the {PLUGIN_DIR}/bitbucket-pipelines.yml file should contain:
"""
- step:
image: php:7.0
name: "PHP 7.0"
image: php:8.0
name: "PHP 8.0"
script:
# Install Dependencies
- docker-php-ext-install mysqli
- apt-get update && apt-get install -y subversion --no-install-recommends
- apt-get update && apt-get install -y subversion git zip libzip-dev --no-install-recommends
"""
And the {PLUGIN_DIR}/bitbucket-pipelines.yml file should contain:
"""
- step:
image: php:7.1
name: "PHP 7.1"
image: php:8.2
name: "PHP 8.2"
script:
# Install Dependencies
- docker-php-ext-install mysqli
- apt-get update && apt-get install -y subversion --no-install-recommends
"""
And the {PLUGIN_DIR}/bitbucket-pipelines.yml file should contain:
"""
- step:
image: php:7.2
name: "PHP 7.2"
script:
# Install Dependencies
- docker-php-ext-install mysqli
- apt-get update && apt-get install -y subversion --no-install-recommends
- apt-get update && apt-get install -y subversion git zip libzip-dev --no-install-recommends
"""
And the {PLUGIN_DIR}/bitbucket-pipelines.yml file should contain:
"""
Expand Down
31 changes: 9 additions & 22 deletions features/scaffold-theme-tests.feature
Original file line number Diff line number Diff line change
Expand Up @@ -168,42 +168,29 @@ Feature: Scaffold theme unit tests
And the {THEME_DIR}/t12child/bitbucket-pipelines.yml file should contain:
"""
- step:
image: php:5.6
name: "PHP 5.6"
image: php:7.4
name: "PHP 7.4"
script:
# Install Dependencies
- docker-php-ext-install mysqli
- apt-get update && apt-get install -y subversion --no-install-recommends
- apt-get update && apt-get install -y subversion git zip libzip-dev --no-install-recommends
"""
And the {THEME_DIR}/t12child/bitbucket-pipelines.yml file should contain:
"""
- step:
image: php:7.0
name: "PHP 7.0"
image: php:8.0
name: "PHP 8.0"
script:
# Install Dependencies
- docker-php-ext-install mysqli
- apt-get update && apt-get install -y subversion --no-install-recommends
- apt-get update && apt-get install -y subversion git zip libzip-dev --no-install-recommends
"""
And the {THEME_DIR}/t12child/bitbucket-pipelines.yml file should contain:
"""
- step:
image: php:7.1
name: "PHP 7.1"
image: php:8.2
name: "PHP 8.2"
script:
# Install Dependencies
- docker-php-ext-install mysqli
- apt-get update && apt-get install -y subversion --no-install-recommends
"""
And the {THEME_DIR}/t12child/bitbucket-pipelines.yml file should contain:
"""
- step:
image: php:7.2
name: "PHP 7.2"
script:
# Install Dependencies
- docker-php-ext-install mysqli
- apt-get update && apt-get install -y subversion --no-install-recommends
- apt-get update && apt-get install -y subversion git zip libzip-dev --no-install-recommends
"""
And the {THEME_DIR}/t12child/bitbucket-pipelines.yml file should contain:
"""
Expand Down

0 comments on commit 6052d62

Please sign in to comment.