diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-02-27 08:56:42 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-02-27 08:56:42 +0300 |
commit | 50c9d9bdc0eada5de5a6b693740528a36497ce42 (patch) | |
tree | e7526a126d3182e4f8ae02db932554ac4c51ecaf /tests/travis | |
parent | 105f4b1fbfc23f95216a8bb2067ce1470fa9acea (diff) |
Do not show the help message if a plugin is being tested as it's only valid for core
Diffstat (limited to 'tests/travis')
-rwxr-xr-x | tests/travis/travis.sh | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/travis/travis.sh b/tests/travis/travis.sh index 99910e79db..fcdcbfff1c 100755 --- a/tests/travis/travis.sh +++ b/tests/travis/travis.sh @@ -43,10 +43,15 @@ then echo "" echo "http://builds-artifacts.piwik.org/$artifacts_folder/$TRAVIS_JOB_NUMBER/screenshot-diffs/diffviewer.html" echo "" - echo "If the new screenshots are valid, then you can copy them over to tests/UI/expected-ui-screenshots/ with command:" - echo "" - echo "./console development:sync-ui-test-screenshots $TRAVIS_JOB_NUMBER" - echo "" + echo "If the new screenshots are valid, then you can copy them over to tests/UI/expected-ui-screenshots/" + + if [ -n "$PLUGIN_NAME" ] + then + echo " with command:" + echo "" + echo "./console development:sync-ui-test-screenshots $TRAVIS_JOB_NUMBER" + echo "" + fi if [ -n "$PLUGIN_NAME" ] then |