File tree Expand file tree Collapse file tree 1 file changed +18
-29
lines changed
Expand file tree Collapse file tree 1 file changed +18
-29
lines changed Original file line number Diff line number Diff line change 1- machine :
2- php :
3- version : 5.6.22
4- environment :
5- PATH : " $HOME/$CIRCLE_PROJECT_REPONAME/vendor/bin:$PATH"
6- WP_CLI_BIN_DIR : " $HOME/$CIRCLE_PROJECT_REPONAME/vendor/bin"
7-
8- dependencies :
9- cache_directories :
10- - ~/.composer/cache
11- pre :
12- # Set the PHP timezone so that Behat does not fail.
13- - echo "date.timezone = 'US/Central'" > /opt/circleci/php/$(phpenv global)/etc/conf.d/wp-cli-timezone.ini
14- # Disable xdebug, which makes Composer slower.
15- - echo "" > /opt/circleci/php/$(phpenv global)/etc/conf.d/xdebug.ini
16- # Increase memory limit
17- - echo "memory_limit = 1024M" > /opt/circleci/php/$(phpenv global)/etc/conf.d/memory.ini
18- override :
19- - composer require wp-cli/wp-cli:dev-master
20- - composer install
21- - bash bin/install-package-tests.sh
22-
23- test :
24- pre :
25- - composer validate
26- override :
27- - WP_VERSION=latest bash bin/test.sh
28- - rm -rf '/tmp/wp-cli-test core-download-cache'
29- - WP_VERSION=trunk bash bin/test.sh
1+ version : 2
2+ jobs :
3+ build :
4+ working_directory : ~/wp-cli/package-tests
5+ parallelism : 1
6+ docker :
7+ - image : circleci/php:7.1
8+ steps :
9+ - checkout
10+ - run : |
11+ composer require wp-cli/wp-cli:dev-master
12+ composer install
13+ bash bin/install-package-tests.sh
14+ - run : |
15+ composer validate
16+ WP_VERSION=latest bash bin/test.sh
17+ rm -rf '/tmp/wp-cli-test core-download-cache'
18+ WP_VERSION=trunk bash bin/test.sh
You can’t perform that action at this time.
0 commit comments