Skip to content

Commit a541687

Browse files
committed
Shallow-clone WP for testing
Props @osiux
1 parent c0d5302 commit a541687

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ php:
1212
# Clones WordPress and configures our testing environment.
1313
before_script:
1414
- export PLUGIN_SLUG=$(basename $(pwd))
15-
- git clone git://develop.git.wordpress.org/ /tmp/wordpress
15+
- git clone --depth=1 git://develop.git.wordpress.org/ /tmp/wordpress
1616
- mkdir "/tmp/wordpress/src/wp-content/plugins/$PLUGIN_SLUG"
1717
- cp -r . "/tmp/wordpress/src/wp-content/plugins/$PLUGIN_SLUG/"
1818
- cd /tmp/wordpress

0 commit comments

Comments
 (0)