Skip to content

Commit 2196ad8

Browse files
committed
Updated deploy_job work install composer packages without dev.
1 parent 4915843 commit 2196ad8

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.circleci/config.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,16 @@ jobs:
137137
CONTAINER_WP_VERSION: "latest"
138138
CONTAINER_PHP_VERSION: "7.3"
139139
deploy_job:
140+
working_directory: /root/project/phpcompat-demo
140141
docker:
141-
- image: circleci/buildpack-deps:latest
142+
- image: wordpress:php7.3-fpm-alpine
142143
steps:
144+
- run: apk add --no-cache git subversion rsync
145+
- *install_composer
143146
- checkout
144147
- run:
145-
name: Install dependencies
146-
command: sudo apt-get install rsync -qq
148+
name: Install composer without dev packages
149+
command: composer install --no-dev --no-suggest --optimize-autoloader
147150
- run:
148151
name: Create artifacts directory
149152
command: mkdir -p /tmp/artifacts

0 commit comments

Comments
 (0)