File tree Expand file tree Collapse file tree 3 files changed +33
-5
lines changed Expand file tree Collapse file tree 3 files changed +33
-5
lines changed Original file line number Diff line number Diff 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
@@ -157,8 +160,10 @@ workflows:
157160 version : 2
158161 test :
159162 jobs :
160- - job_test_javascript
163+ - job_test_javascript :
164+ << : *workflow_job
161165 - job_php_code_standards :
166+ << : *workflow_job
162167 requires :
163168 - job_test_javascript
164169 - job_test_php56_min :
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ svn update --set-depth infinity trunk
4444echo " Copying files..."
4545
4646if [[ -f " $PROJECT_DIR /.distignore" ]]; then
47- rsync -rc --exclude-from=" $PROJECT_DIR /.distignore" " $PROJECT_DIR /" trunk/ --delete --delete-excluded
47+ rsync -rcl --exclude-from=" $PROJECT_DIR /.distignore" " $PROJECT_DIR /" trunk/ --delete --delete-excluded
4848fi
4949
5050# Copy assets to /assets.
Original file line number Diff line number Diff line change 1+ + php52/vendor/bin
2+ + vendor/bin
3+ - bin
4+ .circleci
5+ .distignore
6+ .git
7+ .gitignore
8+ .phplint.yml
9+ Dockerfile
10+ Gruntfile.js
11+ Makefile
12+ build.sh
13+ composer.json
14+ composer.lock
15+ docker-compose.yml
16+ helpers
17+ package-lock.json
18+ package.json
19+ php-lint.sh
20+ phpunit.xml.dist
21+ readme.md
22+ tests
23+ assets
You can’t perform that action at this time.
0 commit comments