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:
137
137
CONTAINER_WP_VERSION : " latest"
138
138
CONTAINER_PHP_VERSION : " 7.3"
139
139
deploy_job :
140
+ working_directory : /root/project/phpcompat-demo
140
141
docker :
141
- - image : circleci/buildpack-deps:latest
142
+ - image : wordpress:php7.3-fpm-alpine
142
143
steps :
144
+ - run : apk add --no-cache git subversion rsync
145
+ - *install_composer
143
146
- checkout
144
147
- 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
147
150
- run :
148
151
name : Create artifacts directory
149
152
command : mkdir -p /tmp/artifacts
@@ -157,8 +160,10 @@ workflows:
157
160
version : 2
158
161
test :
159
162
jobs :
160
- - job_test_javascript
163
+ - job_test_javascript :
164
+ << : *workflow_job
161
165
- job_php_code_standards :
166
+ << : *workflow_job
162
167
requires :
163
168
- job_test_javascript
164
169
- job_test_php56_min :
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ svn update --set-depth infinity trunk
44
44
echo " Copying files..."
45
45
46
46
if [[ -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
48
48
fi
49
49
50
50
# 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