Skip to content

Commit

Permalink
PLAT-6747 Bump Mongo to 3.2 in development and build (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrliptontea authored Sep 6, 2023
1 parent 1b58159 commit cc4ca98
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
version: 2.1
parameters: &version
version:
type: string
type: string
default: "php55"

commands:
install_composer_dependencies:
parameters: *version
parameters: *version
description: Install composer dependencies for << parameters.version >>
steps:
- run: docker-compose run << parameters.version >> composer install
unit_tests:
parameters: *version
description: Run unit tests for << parameters.version >>
steps:
- run: docker-compose run << parameters.version >> ./vendor/bin/phpunit test/unit
- run: docker-compose run << parameters.version >> ./vendor/bin/phpunit test/unit
performance_tests:
parameters: *version
description: Run performance tests for << parameters.version >>
Expand All @@ -27,7 +27,7 @@ jobs:
machine:
image: ubuntu-2004:202010-01
steps:
- checkout
- checkout
- install_composer_dependencies:
version: << parameters.version >>
- unit_tests:
Expand All @@ -41,8 +41,8 @@ workflows:
- test:
matrix:
parameters:
version:
- php55
version:
- php55
- php56
- php70
- php72
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ x-base-config: &base-config
- ./:/var/tripod-php
- ./vendor:/var/tripod-php/vendor:delegated
links:
- "mongo26:mongodb"
- "mongo32:mongodb"
- redis
depends_on:
- mongo26
- mongo32
- redis
working_dir: /var/tripod-php
env_file: .env
Expand Down Expand Up @@ -42,8 +42,8 @@ services:
image: talis/tripod-php:php72-latest
<<: *base-config

mongo26:
image: rossfsinger/mongo-2.6.12:latest
mongo32:
image: mongo:3.2.21

redis:
image: redis:latest
image: redis:6.2.6

0 comments on commit cc4ca98

Please sign in to comment.