Commit f67c035a authored by Jonathan Smith's avatar Jonathan Smith Committed by Jonathan Smith
Browse files

Issue #3249325 by jonathan1055: Do not run javascript tests on Travis. Remove...

Issue #3249325 by jonathan1055: Do not run javascript tests on Travis. Remove superfluous @group (align with 2.x)
parent 9570312e
Loading
Loading
Loading
Loading
+3 −4
Changes for .travis.yml: 3 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -114,12 +114,12 @@ before_script:
  - echo $SYMFONY_DEPRECATIONS_HELPER

script:
  # Run the PHPUnit tests.
  # Run the PHPUnit tests, excluding the javascript tests.
  - cd $DRUPAL_ROOT
  - if [ "$RULES" == "YES" ]; then
      ./vendor/bin/phpunit -c ./core/phpunit.xml.dist --debug ./modules/$MODULE/;
      ./vendor/bin/phpunit -c ./core/phpunit.xml.dist --debug ./modules/$MODULE/ --exclude-group=scheduler_js;
    else
      ./vendor/bin/phpunit -c ./core/phpunit.xml.dist --debug ./modules/$MODULE/ --filter '/^((?!rules).)*$/i';
      ./vendor/bin/phpunit -c ./core/phpunit.xml.dist --debug ./modules/$MODULE/ --exclude-group=scheduler_js --filter '/^((?!rules).)*$/i';
    fi

  # Check for coding standards. First show the versions.
@@ -131,7 +131,6 @@ script:
  - $DRUPAL_ROOT/vendor/bin/phpcs --version
  - $DRUPAL_ROOT/vendor/bin/phpcs --config-show installed_paths


  # Change into $MODULE directory to avoid having to add --standard=$DRUPAL_ROOT/modules/$MODULE/phpcs.xml.dist
  - cd $DRUPAL_ROOT/modules/$MODULE

+0 −2
Changes for tests/modules/scheduler_api_test/src/EventSubscriber.php: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -21,8 +21,6 @@ use Symfony\Component\EventDispatcher\EventSubscriberInterface;
 * To allow this API test module to be enabled interactively (for development
 * and testing) we must avoid unwanted side-effects on other non-test nodes.
 * This is done simply by checking that the node title starts with 'API TEST'.
 *
 * @group scheduler_api_test
 */
class EventSubscriber implements EventSubscriberInterface {

+0 −2
Changes for tests/src/FunctionalJavascript/SchedulerJavascriptTestBase.php: 0 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -7,8 +7,6 @@ use Drupal\Tests\scheduler\Traits\SchedulerSetupTrait;

/**
 * Base class for Scheduler javascript tests.
 *
 * @group scheduler
 */
abstract class SchedulerJavascriptTestBase extends WebDriverTestBase {