diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2014-03-10 15:34:59 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2014-03-10 15:35:18 +0400 |
commit | 4e9fc594cea4c52731631967bfa43bee964c78dc (patch) | |
tree | 94bdd58bbaf47dea5d8d56365c6638a23d668c7f /tests/travis | |
parent | 720639c919024eceed9d64e9a57d9c9ada6eda43 (diff) |
Fixing travis.sh script for UI tests build and make sure empty arguments don't get added to tests to execute in screenshot test runner.
Diffstat (limited to 'tests/travis')
-rwxr-xr-x | tests/travis/upload_artifacts.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/travis/upload_artifacts.sh b/tests/travis/upload_artifacts.sh index 3fb5174034..eeaa018aa2 100755 --- a/tests/travis/upload_artifacts.sh +++ b/tests/travis/upload_artifacts.sh @@ -12,11 +12,11 @@ then tar -cjf processed.tar.bz2 processed --exclude='.gitkeep' curl -X POST --data-binary @processed.tar.bz2 "$url" else - if [ "$TEST_DIR" = "UI" ]; + if [ "$TEST_SUITE" = "UITests" ]; then url_base="http://builds-artifacts.piwik.org/upload.php?auth_key=$ARTIFACTS_PASS&branch=ui-tests.$TRAVIS_BRANCH&build_id=$TRAVIS_JOB_NUMBER" - echo "Uploading artifacts for $TEST_DIR..." + echo "Uploading artifacts for $TEST_SUITE..." cd ./tests/PHPUnit/UI |