We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1cf2bb commit 8d111d4Copy full SHA for 8d111d4
.travis.yml
@@ -40,7 +40,7 @@ before_script:
40
- export WP_DEVELOP_DIR=/tmp/wordpress
41
- mkdir -p $WP_DEVELOP_DIR
42
- git clone --depth=1 git://develop.git.wordpress.org/ $WP_DEVELOP_DIR/
43
- - if [ "$WP_VERSION" == "stable" ]; then git fetch --tags; git checkout $(git tag | sort -n | tail -1); else git checkout $WP_VERSION; fi
+ - sh -c "if [ '$WP_VERSION' = 'stable' ]; then git fetch --tags; git checkout $(git tag | sort -n | tail -1); else git checkout $WP_VERSION; fi"
44
45
# Set up plugin information.
46
- plugin_slug=$(basename $(pwd))
0 commit comments