File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ machine:
2
2
php :
3
3
version : 5.6.22
4
4
environment :
5
- PATH : " $HOME/.composer /vendor/bin:$PATH"
6
- WP_CLI_BIN_DIR : " $HOME/.composer /vendor/bin"
5
+ PATH : " $HOME/$CIRCLE_PROJECT_REPONAME /vendor/bin:$PATH"
6
+ WP_CLI_BIN_DIR : " $HOME/$CIRCLE_PROJECT_REPONAME /vendor/bin"
7
7
8
8
dependencies :
9
9
cache_directories :
10
- - ~ /.composer/cache
10
+ - $HOME /.composer/cache
11
11
pre :
12
12
# Set the PHP timezone so that Behat does not fail.
13
13
- echo "date.timezone = 'US/Central'" > /opt/circleci/php/$(phpenv global)/etc/conf.d/wp-cli-timezone.ini
@@ -16,9 +16,7 @@ dependencies:
16
16
# Increase memory limit
17
17
- echo "memory_limit = 512M" > /opt/circleci/php/$(phpenv global)/etc/conf.d/memory.ini
18
18
override :
19
- - composer global require wp-cli/wp-cli:dev-master
20
- - composer global require behat/behat:~2.5
21
- - composer install --no-dev
19
+ - composer install
22
20
- bash bin/install-package-tests.sh
23
21
24
22
test :
You can’t perform that action at this time.
0 commit comments