Skip to content
Extraits de code Groupes Projets
Valider 1774c104 rédigé par Thomas Steur's avatar Thomas Steur
Parcourir les fichiers

refs #5940 starting to rename test suites

parent 95d244e5
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</php> </php>
<testsuites> <testsuites>
<testsuite name="IntegrationTests"> <testsuite name="SystemTests">
<directory>./Integration</directory> <directory>./Integration</directory>
</testsuite> </testsuite>
<testsuite name="PluginTests"> <testsuite name="PluginTests">
......
#!/bin/bash #!/bin/bash
# initiate UI tests before starting integration tests for php 5.5 # initiate UI tests before starting integration tests for php 5.5
if [ "$TEST_SUITE" != "IntegrationTests" ] || [[ "$TRAVIS_PHP_VERSION" != 5\.5* ]]; then if [ "$TEST_SUITE" != "SystemTests" ] || [[ "$TRAVIS_PHP_VERSION" != 5\.5* ]]; then
echo "Not initiating UI tests (\$TEST_SUITE = $TEST_SUITE, \$TRAVIS_PHP_VERSION = $TRAVIS_PHP_VERSION)." echo "Not initiating UI tests (\$TEST_SUITE = $TEST_SUITE, \$TRAVIS_PHP_VERSION = $TRAVIS_PHP_VERSION)."
exit exit
fi fi
......
...@@ -69,8 +69,8 @@ then ...@@ -69,8 +69,8 @@ then
else else
if [ "$COVERAGE" = "Integration" ] if [ "$COVERAGE" = "Integration" ]
then then
echo "Executing non Integration tests in test suite IntegrationTests..." echo "Executing non Integration tests in test suite SystemTests..."
phpunit --configuration phpunit.xml --testsuite IntegrationTests --exclude-group Integration --colors --coverage-clover $TRAVIS_BUILD_DIR/build/logs/clover-integration.xml || true phpunit --configuration phpunit.xml --testsuite SystemTests --exclude-group System --colors --coverage-clover $TRAVIS_BUILD_DIR/build/logs/clover-integration.xml || true
elif [ "$COVERAGE" = "Core" ] elif [ "$COVERAGE" = "Core" ]
then then
echo "Executing tests in test suite CoreTests..." echo "Executing tests in test suite CoreTests..."
......
#!/bin/bash #!/bin/bash
if [ "$TEST_SUITE" = "IntegrationTests" ]; if [ "$TEST_SUITE" = "SystemTests" ];
then then
url="http://builds-artifacts.piwik.org/upload.php?auth_key=$ARTIFACTS_PASS&artifact_name=processed&branch=$TRAVIS_BRANCH&build_id=$TRAVIS_JOB_NUMBER" url="http://builds-artifacts.piwik.org/upload.php?auth_key=$ARTIFACTS_PASS&artifact_name=processed&branch=$TRAVIS_BRANCH&build_id=$TRAVIS_JOB_NUMBER"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter