Skip to content

Commit 654b9d4

Browse files
committed
Update scaffolded files
1 parent 16fef83 commit 654b9d4

File tree

7 files changed

+3404
-38
lines changed

7 files changed

+3404
-38
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ before_install:
4747
else
4848
echo "xdebug.ini does not exist"
4949
fi
50+
- |
51+
# Raise PHP memory limit to 2048MB
52+
echo 'memory_limit = 2048M' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
5053
5154
install:
5255
- composer require wp-cli/wp-cli:dev-master

bin/test.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ then
88
phpunit
99
fi
1010

11+
if [ $WP_VERSION = "latest" ]; then
12+
export WP_VERSION=$(curl -s https://api.wordpress.org/core/version-check/1.7/ | jq -r ".offers[0].current")
13+
fi
14+
1115
# Run the functional tests
1216
BEHAT_TAGS=$(php utils/behat-tags.php)
1317
behat --format progress $BEHAT_TAGS --strict

0 commit comments

Comments
 (0)